[jason.keppler@sdvmcctest02 ~]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 ~]$ sudo service mirthconnect start
Starting mirthconnect (via systemctl): [ OK ]
[jason.keppler@sdvmcctest02 ~]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 ~]$ sudo service mirthconnect status ]
The daemon is stopped.
[jason.keppler@sdvmcctest02 ~]$ cd /opt/mirthconnect/logs [FAILED]
[jason.keppler@sdvmcctest02 logs]$ ls
mirth.log
[jason.keppler@sdvmcctest02 logs]$ tail mirth.log
ERROR 2017-11-30 09:29:34,967 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 09:29:34,970 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
ERROR 2017-11-30 13:21:28,022 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 13:21:28,023 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
[jason.keppler@sdvmcctest02 logs]$ cd ../conf
[jason.keppler@sdvmcctest02 conf]$ more mirth.properties
# Mirth Connect configuration file
# directories
dir.appdata = appdata
dir.tempdata = temp
# ports
http.port = 7070
https.port = 7071
jmx.port = 1099
# password requirements
password.minlength = 0
password.minupper = 0
password.minlower = 0
password.minnumeric = 0
password.minspecial = 0
password.retrylimit = 0
password.lockoutperiod = 0
password.expiration = 0
password.graceperiod = 0
password.reuseperiod = 0
password.reuselimit = 0
# keystore
keystore.path = ${dir.appdata}/keystore.jks
keystore.storepass = abc12345
keystore.keypass = abc12345
keystore.type = JCEKS
# default truststore
truststore.path = ${dir.appdata}/truststore.jks
truststore.storepass = abc12345
# server
http.contextpath = /
server.url =
jmx.password = admin
http.host = 0.0.0.0
https.host = 0.0.0.0
jmx.host = localhost
# options: derby, mysql, postgres, oracle, sqlserver2000, sqlserver
#database = derby
# examples:
# Derby jdbc:derby:${dir.base}/mirthdb;create=true
# PostgreSQL jdbc:postgresql://localhost:5432/mirthdb
# MySQL jdbc:mysql://localhost:3306/mirthdb
# Oracle jdbc:oracle:thin:@localhost:1521:DB
# SQLServer jdbc:jtds:sqlserver://localhost:1433/mirthdb
#database.url = jdbc:derby:${dir.base}/mirthdb;create=true
# if using a custom driver, specify it here
#database.driver =
# database credentials
#database.username =
#database.password =
database=mysql
database.url = jdbc:mysql://sdvmcctest02.medsphere.com:3306/mirthdb
database.username=mirth
database.password=mirth
#database.password=PDVb777SVK6Fa4hL
[jason.keppler@sdvmcctest02 conf]$ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 82
Server version: 5.5.56-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
MariaDB [(none)]> use mirthdb;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
MariaDB [mirthdb]> UPDATE mysql.user SET Password=PASSWORD(‘mirth’) WHERE User=’mirth’;
Query OK, 2 rows affected (0.00 sec)
Rows matched: 2 Changed: 2 Warnings: 0
MariaDB [mirthdb]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [mirthdb]> quit
Bye
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect start
Starting mirthconnect (via systemctl): ^[[A [ OK ]
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ [ OK ]
MariaDB [(none)]> use mirthdb
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [mirthdb]> select user,host,password from mysql.user;
+——-+—————————-+——————+
| user | host | password |
+——-+—————————-+——————+
| root | localhost | |
| root | sdvmcctest01.medsphere.com | |
| root | 127.0.0.1 | |
| mirth | localhost | 71c6222f451f632d |
| mirth | sdvmcctest01.medsphere.com | 71c6222f451f632d |
| price | localhost | 7fdb78a90c3e9f23 |
| price | % | 7fdb78a90c3e9f23 |
| fdb | localhost | 7c729079259a1bfc |
| fdb | % | 7c729079259a1bfc |
+——-+—————————-+——————+
9 rows in set (0.05 sec)
MariaDB [mirthdb]> exit
Bye
[jason.keppler@sdvmcctest02 conf]$ more mirth.properties
# Mirth Connect configuration file
# directories
dir.appdata = appdata
dir.tempdata = temp
# ports
http.port = 7070
https.port = 7071
jmx.port = 1099
# password requirements
password.minlength = 0
password.minupper = 0
password.minlower = 0
password.minnumeric = 0
password.minspecial = 0
password.retrylimit = 0
password.lockoutperiod = 0
password.expiration = 0
password.graceperiod = 0
password.reuseperiod = 0
password.reuselimit = 0
# keystore
keystore.path = ${dir.appdata}/keystore.jks
keystore.storepass = abc12345
keystore.keypass = abc12345
keystore.type = JCEKS
# default truststore
truststore.path = ${dir.appdata}/truststore.jks
truststore.storepass = abc12345
# server
http.contextpath = /
server.url =
jmx.password = admin
http.host = 0.0.0.0
https.host = 0.0.0.0
jmx.host = localhost
# options: derby, mysql, postgres, oracle, sqlserver2000, sqlserver
#database = derby
# examples:
# Derby jdbc:derby:${dir.base}/mirthdb;create=true
# PostgreSQL jdbc:postgresql://localhost:5432/mirthdb
# MySQL jdbc:mysql://localhost:3306/mirthdb
# Oracle jdbc:oracle:thin:@localhost:1521:DB
# SQLServer jdbc:jtds:sqlserver://localhost:1433/mirthdb
#database.url = jdbc:derby:${dir.base}/mirthdb;create=true
# if using a custom driver, specify it here
#database.driver =
# database credentials
#database.username =
#database.password =
database=mysql
database.url = jdbc:mysql://sdvmcctest02.medsphere.com:3306/mirthdb
database.username=mirth
database.password=mirth
#database.password=PDVb777SVK6Fa4hL
[jason.keppler@sdvmcctest02 conf]$ sudo su mirth -l
Last login: Thu Nov 30 13:18:46 PST 2017 on pts/2
[mirth@sdvmcctest02 ~]$ cd /opt/mirthconnect/conf/
[mirth@sdvmcctest02 conf]$ vi mirth.properties
[mirth@sdvmcctest02 conf]$ exit
logout
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect start
Starting mirthconnect (via systemctl): [ OK ]
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 conf]$ cd logs [FAILED]
-bash: cd: logs: No such file or directory
[jason.keppler@sdvmcctest02 conf]$ cd ../logs
[jason.keppler@sdvmcctest02 logs]$ tail mirth.log
ERROR 2017-11-30 09:29:34,967 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 09:29:34,970 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
ERROR 2017-11-30 13:21:28,022 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 13:21:28,023 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
ERROR 2017-11-30 13:25:09,007 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 13:25:09,008 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
[jason.keppler@sdvmcctest02 logs]$ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 85
Server version: 5.5.56-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
MariaDB [(none)]> select user,host,password from mysql.user;
+——-+—————————-+——————+
| user | host | password |
+——-+—————————-+——————+
| root | localhost | |
| root | sdvmcctest01.medsphere.com | |
| root | 127.0.0.1 | |
| mirth | localhost | 71c6222f451f632d |
| mirth | sdvmcctest01.medsphere.com | 71c6222f451f632d |
| price | localhost | 7fdb78a90c3e9f23 |
| price | % | 7fdb78a90c3e9f23 |
| fdb | localhost | 7c729079259a1bfc |
| fdb | % | 7c729079259a1bfc |
+——-+—————————-+——————+
9 rows in set (0.00 sec)
MariaDB [(none)]> UPDATE mysql.user SET Host=’sdvmcctest02.medsphere.com’ WHERE Host=’sdvmcctest01.medsphere.com’ AND User=’mirth’;
Query OK, 1 row affected (0.09 sec)
Rows matched: 1 Changed: 1 Warnings: 0
MariaDB [(none)]> UPDATE mysql.db SET Host=’sdvmcctest02.medsphere.com’ WHERE Host=’sdvmcctest01.medsphere.com’ AND User=’mirth’;
Query OK, 1 row affected (0.22 sec)
Rows matched: 1 Changed: 1 Warnings: 0
MariaDB [(none)]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.02 sec)
MariaDB [(none)]> exit
Bye
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect start
Starting mirthconnect (via systemctl): [ OK ]
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 logs]$ ls
mirth.log
[jason.keppler@sdvmcctest02 logs]$ tail mirth.log
ERROR 2017-11-30 09:29:34,967 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 09:29:34,970 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
ERROR 2017-11-30 13:21:28,022 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 13:21:28,023 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
ERROR 2017-11-30 13:25:09,007 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 13:25:09,008 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
ERROR 2017-11-30 13:29:14,790 [Thread-2] com.mirth.connect.server.Mirth: Error establishing connection to database, aborting startup. Access denied for user ‘mirth’@’sdvmcctest02.medsphere.com’ (using password: YES)
INFO 2017-11-30 13:29:14,791 [Thread-4] com.mirth.connect.server.Mirth: shutting down mirth due to normal request
[jason.keppler@sdvmcctest02 logs]$ mysql -u mirth -p mirth
Enter password:
ERROR 1045 (28000): Access denied for user ‘mirth’@’localhost’ (using password: NO)
[jason.keppler@sdvmcctest02 logs]$ mysql -u mirth -p
Enter password:
ERROR 1045 (28000): Access denied for user ‘mirth’@’localhost’ (using password: YES)
[jason.keppler@sdvmcctest02 logs]$ mysql -u mirth -p
Enter password:
ERROR 1045 (28000): Access denied for user ‘mirth’@’localhost’ (using password: YES)
[jason.keppler@sdvmcctest02 logs]$ mysql -u mirth -p
Enter password:
ERROR 1045 (28000): Access denied for user ‘mirth’@’localhost’ (using password: NO)
[jason.keppler@sdvmcctest02 logs]$ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 92
Server version: 5.5.56-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
MariaDB [(none)]> select user,host,password from mysql.user; +——-+—————————-+——————+
| user | host | password |
+——-+—————————-+——————+
| root | localhost | |
| root | sdvmcctest01.medsphere.com | |
| root | 127.0.0.1 | |
| mirth | localhost | 71c6222f451f632d |
| mirth | sdvmcctest02.medsphere.com | 71c6222f451f632d |
| price | localhost | 7fdb78a90c3e9f23 |
| price | % | 7fdb78a90c3e9f23 |
| fdb | localhost | 7c729079259a1bfc |
| fdb | % | 7c729079259a1bfc |
+——-+—————————-+——————+
9 rows in set (0.00 sec)
MariaDB [(none)]> UPDATE mysql.user SET Host=’%’ WHERE Host=’sdvmcctest02.medsphere.com’ AND User=’mirth’;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0
MariaDB [(none)]> UPDATE mysql.db SET Host=’%’ WHERE Host=’sdvmcctest02.medsphere.com’ AND User=’mirth’;
Query OK, 1 row affected (0.01 sec)
Rows matched: 1 Changed: 1 Warnings: 0
MariaDB [(none)]> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> select user,host,password from mysql.user; +——-+—————————-+——————+
| user | host | password |
+——-+—————————-+——————+
| root | localhost | |
| root | sdvmcctest01.medsphere.com | |
| root | 127.0.0.1 | |
| mirth | localhost | 71c6222f451f632d |
| mirth | % | 71c6222f451f632d |
| price | localhost | 7fdb78a90c3e9f23 |
| price | % | 7fdb78a90c3e9f23 |
| fdb | localhost | 7c729079259a1bfc |
| fdb | % | 7c729079259a1bfc |
+——-+—————————-+——————+
9 rows in set (0.00 sec)
MariaDB [(none)]> exit
Bye
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect start
Starting mirthconnect (via systemctl): [ OK ]
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 logs]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 logs]$ mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 95
Server version: 5.5.56-MariaDB MariaDB Server
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
MariaDB [(none)]> update mirth set password=PASSWORD(“mirth”);
ERROR 1046 (3D000): No database selected
MariaDB [(none)]> user mirthdb;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘user mirthdb’ at line 1
MariaDB [(none)]> use mirthdb;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [mirthdb]> update mirth set password=PASSWORD(“mirth”);
ERROR 1146 (42S02): Table ‘mirthdb.mirth’ doesn’t exist
MariaDB [mirthdb]> UPDATE mysql.user SET Password=PASSWORD(‘new password’) WHERE User=’root’;
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3 Changed: 3 Warnings: 0
MariaDB [mirthdb]> UPDATE mysql.user SET Password=PASSWORD(”) WHERE User=’root’;
Query OK, 3 rows affected (0.00 sec)
Rows matched: 3 Changed: 3 Warnings: 0
MariaDB [mirthdb]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [mirthdb]> UPDATE mysql.user SET Password=PASSWORD(‘mirth’) WHERE User=’mirth’;
Query OK, 2 rows affected (0.00 sec)
Rows matched: 2 Changed: 2 Warnings: 0
MariaDB [mirthdb]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [mirthdb]> select user,host,password from mysql.user;
+——-+—————————-+——————————————-+
| user | host | password |
+——-+—————————-+——————————————-+
| root | localhost | |
| root | sdvmcctest01.medsphere.com | |
| root | 127.0.0.1 | |
| mirth | localhost | *80011CE4FDFACC3826F3131D8FB77AC2ED64E552 |
| mirth | % | *80011CE4FDFACC3826F3131D8FB77AC2ED64E552 |
| price | localhost | 7fdb78a90c3e9f23 |
| price | % | 7fdb78a90c3e9f23 |
| fdb | localhost | 7c729079259a1bfc |
| fdb | % | 7c729079259a1bfc |
+——-+—————————-+——————————————-+
9 rows in set (0.00 sec)
MariaDB [mirthdb]> quit
Bye
[jason.keppler@sdvmcctest02 logs]$ pwd
/opt/mirthconnect/logs
[jason.keppler@sdvmcctest02 logs]$ cd ../conf
[jason.keppler@sdvmcctest02 conf]$ sudo su mirth -l
Last login: Thu Nov 30 13:24:26 PST 2017 on pts/2
[mirth@sdvmcctest02 ~]$ cd /opt/mirthconnect/conf
[mirth@sdvmcctest02 conf]$ vi mirth.properties
[mirth@sdvmcctest02 conf]$ exit
logout
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is stopped.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect start
Starting mirthconnect (via systemctl): ^[[A [ OK ]
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ sudo service mirthconnect status
The daemon is running.
[jason.keppler@sdvmcctest02 conf]$ [ OK ]
1903 Wright Place, Suite 120
Carlsbad, CA 92008
Toll-Free (877) 633-7743
Email customercare@medsphere.com