Home > MySQL > Incorrect database name ‘#mysql50#.rocksdb’ when selecting the database

Problem: Got the below error when running mysql_upgrade
Incorrect database name '#mysql50#.rocksdb' when selecting the database

Solution:
systemctl stop mariadb
cp -R /var/lib/mysql /var/lib/mysql.bak
rm -rf /var/lib/mysql/.rocksdb/
systemctl start mariadb

Reference:
https://www.suse.com/support/kb/doc/?id=7014519



Flag Counter