Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
-
Unable to start MySQL service. The following error is present in system log (
/var/log/messages, /var/log/syslog, /var/log/mariadb/mariadb.log, /var/log/mysql/mysql.log
,
%plesk_dir%MySQL\Data\<SERVER_NAME>.err
):CONFIG_TEXT: [ERROR] Missing system table mysql.roles_mapping; please run mysql_upgrade to create it
CONFIG_TEXT: InnoDB: Error: Fetch of persistent statistics requested for table "table_name"."database_name" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
-
Plesk interface might be inaccessible with the following error:
CONFIG_TEXT: ERROR: Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] No such file or directory
-
Clicking at Plesk > Domains > example.com > Databases results in the error:
PLESK_ERROR: Unknown column 'Event_priv' in 'field list
Cause
Failed MySQL upgrade or corrupted installation.
Resolution
-
Complete the MySQL upgrade or re-create missing system tables using the following command:
On Linux:
# mysql_upgrade -u admin -p`cat /etc/psa/.psa.shadow` --force
On Windows
C:\> "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql_upgrade.exe" -uadmin -P3306 -p mysql_admin_password
Comments
0 comments
Please sign in to leave a comment.