[ERROR] Could not open mysql.plugin table: «Table ‘mysql.plugin’ doesn’t exist». Some plugins may be not loaded

[ERROR] Could not open mysql.plugin table: «Table ‘mysql.plugin’ doesn’t exist». Some plugins may be not loaded

Свежеустановленная на Ubuntu 20 MariaDB 10.5 не стартовала. В логах ошибки:

[ERROR] Could not open mysql.plugin table: «Table ‘mysql.plugin’ doesn’t exist». Some plugins may be not loaded
[ERROR] Can’t open and lock privilege tables: Table ‘mysql.servers’ doesn’t exist
[ERROR] Fatal error: Can’t open and lock privilege tables: Table ‘mysql.db’ doesn’t exist
[ERROR] Aborting

Решается выполнением:
# mariadb-install-db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
# systemctl restart mariadb

Добавить комментарий