MySQL Forums
Forum List  »  Newbie

Re: System crash, Reboot, Incorrect information in file: './mysql/host.frm'
Posted by: Eric Gumtow
Date: September 11, 2007 09:57PM

I figured it out on my own. It wasn't easy.

1. Find your host.frm file.
2. Move host.* files (three of them) somewhere else, just to keep them.
3. Run /usr/bin/mysql_install_db
4. Run /etc/init.d/mysql start
5. You might hit other similar corrupted files, if so repeat from step 2.
6. With MySql now up, login as mysql root, no password.
7. Create MySql users and grant privileges as necessary on existing databases.

Options: ReplyQuote


Subject
Written By
Posted
Re: System crash, Reboot, Incorrect information in file: './mysql/host.frm'
September 11, 2007 09:57PM


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.