Upgrade from Plesk 11.5 to 12 fails on action Upgrading MySQL Server system database

Refers to:

  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 12:54:59 UTC

Modified:

2016-12-21 19:31:43 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Upgrade from Plesk 11.5 to 12 fails on action Upgrading MySQL Server system database

Symptoms

Update Plesk 11.5 to 12 fails on action 'Upgrading MySQL Server system database':

    MSI: Error! Critical action 'Upgrading MySQL Server system database...' failed:
Command "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\mysqlmng.exe" --upgrade-local-service failed with code 1.
Output:
Starting MySQL server...
Upgrading MySQL server data...
Execute C:\\Program Files (x86)\\Parallels\\Plesk\\Databases\\MySQL51\\bin\\password=******* failed[1]: Looking for 'mysql.exe' as: C:\\Program Files (x86)\\Parallels\\Plesk\\Databases\\MySQL51\\bin\\mysql.exe
Looking for 'mysqlcheck.exe' as: C:\\Program Files (x86)\\Parallels\\Plesk\\Databases\\MySQL51\\bin\\mysqlcheck.exe
Running 'mysqlcheck' with connection arguments: "--port=8306"
C:\\Program Files (x86)\\Parallels\\Plesk\\Databases\\MySQL51\\bin\\mysqlcheck.exe: Got error: 1045: Access denied for user 'local_mysql_root'@'localhost' (using password: YES) when trying to connect
FATAL ERROR: Upgrade failed

Failed to install 'C:\\ParallelsInstaller\\parallels\\PANEL-WIN_12.0.18\\dist-msi-Microsoft-2003-i386\\mysql-server-configurator.msi': Fatal error during installation. (Error code 1603)

Cause

According to the error message above, mysqlcheck utility is trying to use port 8306. It is not correctIncorrect my.ini file is used.

Resolution

System checks my.ini file in a certain order described in Mysql documentation .

Make sure that there is no any additional my.ini files in specified directories.

Have more questions? Submit a request
Please sign in to leave a comment.