[CentOS] Blew away MySQL

Todd Cary todd at aristesoftware.com
Sun Sep 4 22:04:20 UTC 2005

Alex -

I had figured out the first, but did not remember nor note the second...

< mysql_install_db >

Alex Antropoff wrote:

>On Sun, Sep 04, 2005 at 08:24:17AM -0700, Todd Cary wrote:
>TC> Unfortunately, I blew MySQL away by replacing the MySQL control tables 
>TC> with others and not making a copy of the folder.
>TC> My data is backed up, so that is not a problem, but I cannot reinstall 
>TC> MySQL and create the mysql directory with the control tables (e.g. user, 
>TC> db, host).  I have run "yum remove mysql" and "yum install mysql" and 
>TC> "yum install mysql-server" and the control files are not recreated.
>TC> Any suggestions?
>rm -f /var/lib/mysql/mysql/*

Ariste Software
200 D Street Ext
Petaluma, CA 94952
(707) 773-4523

More information about the CentOS mailing list