• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Upgrade from 12.0.18 to 12.5 WARNING: [MYSQL ERROR] Unable to connect database.

Luiz_Gustavo

Basic Pleskian
Hi all.

I am trying to upgrade 12.0.18 to 12.5 but this error appears, and no reason of problem was shown.

WARNING: [MYSQL ERROR] Unable to connect database. The reason of problem:plesk-db-error.JPG Could you help me?

Thanks

Luiz
 
I take a look at the autoinstaller logs and it appears a problem with step 36 (if exists), because the error was occurred after step 35:

INFO: STEP 28: Checking for custom web server configuration templates...
INFO: Result: OK

INFO: STEP 29: Checking symbolic link /usr/local/psa on /opt/psa...
INFO: Result: OK

INFO: STEP 30: Checking if db_users table contains case insensitive duplicated login entries...
INFO: Result: OK

INFO: STEP 31: Detecting if encrypted passwords are used...
INFO: Result: OK

INFO: STEP 32: Checking table "servers" in database "mysql"...
INFO: Result: OK

INFO: STEP 33: Checking the availability of Plesk Panel TCP ports...
INFO: Result: OK

INFO: STEP 34: Checking for available free memory for the upgrade procedure...
INFO: Result: OK

INFO: STEP 35: Checking for restriction policy...
INFO: Result: OK

Errors found: 0; Warnings found: 1


Error:
WARNING: [MYSQL ERROR] Unable to connect database. The reason of problem:
 
Do you have /root/.my.cnf file? Have you changed admin's mysql password in CLI? Any details from mysql logs?
 
Hi,

No /root/.my.cnf file and I do not change mysql password from CLI. The mysql config is in /etc/mysql/my.cnf

This instalation originally a 11.5 version, upgraded to 12.018 and now the customer wants to upgrade to 12.5.

No errors in Mysql logs.
 
Actually it is just warning but not error. I would suggest you continue upgrade procedure.
 
Back
Top