SyntaxFix
Write A Post
Hire A Developer
Questions
First mv -f /var/lib/mysql /var/lib/mysql.bak and try the command mysql_install_db --user=mysql --ldata=[destination] replace the destination with the data directory, after that start the MySQL with /etc/init.d/mysql restart
mv -f /var/lib/mysql /var/lib/mysql.bak
mysql_install_db --user=mysql --ldata=[destination]
/etc/init.d/mysql restart