MySQL Forums
Forum List  »  Install & Repo

Re: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
Posted by: Syed muhammad ali naqvi
Date: July 01, 2006 03:14PM

Hello Friend,
You can easily overcome this problem by removing the data directory before taking the backup of data if you have already have important data.
rm -rf /pathtodatadir
then
cd /usr/local/mysql1/bin
./mysql_install_db --user=mysql --ldata=/sqldata
./mysqld_safe --datadir=/sqldata --user=mysql &


I hope this will solve ur problem


Regards,
Turab

Options: ReplyQuote


Subject
Written By
Posted
Re: Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
July 01, 2006 03:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.