Situation
My problem, as things stand, is simply stated: I cannot upgrade OpenEMR from version 5.0.0-2 to version 5.0.1.
What happens?
I get this error message: “This package can not upgrade OpenEMR, because unable to confirm presence of a mysql credentials and/or database.”
Additional information:
This is a fresh installation of both my OS and OpenEMR. I restored to OpenEMR a backup made using the same version (5.0.0-2). It is working as it should.
How can I resolve the failing upgrade of OpenEMR?
Many thanks.
OpenEMR Version
I’m using OpenEMR version 5.0.0-2.
Browser:
I’m using: Chromium v5.0.0 (6).
Operating System
I’m using: Lubuntu 16.04.6 LTS. (I wish to upgrade to 18.04 LTS but not before successfully upgrading OpenEMR.)
Logs
OpenEMR install log:
jue may 2 18:53:23 CEST 2019: For upgrade, confirmed that the mysql database (openemr) and mysql user (openemr) exist
jue may 2 18:54:52 CEST 2019: MySQL 'openemr' database does not exist (or can't be accessed), unable to upgrade.
jue may 2 18:54:52 CEST 2019: EXITING.......… '''
robert@robert-Lenovo-B590:~$ mysql -uopenemr -pMYPASSWORD openemr
mysql: [Warning] Using a password on the command line interface can be insecure.
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.26-0ubuntu0.16.04.1 (Ubuntu)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use openemr;
Database changed
mysql>
robert@robert-Lenovo-B590:~$ mysql -uopenemr -h localhost --password=MYPASSWORD -e 'show databases'
mysql: [Warning] Using a password on the command line interface can be insecure.
+--------------------+
| Database |
+--------------------+
| information_schema |
| openemr |
+--------------------+
robert@robert-Lenovo-B590:~$