MySQL Forums
Forum List  »  MySQL Administrator

'mysql' database got deleted accidently
Posted by: Gaurav Chhabra
Date: February 03, 2010 09:36AM


I have accidently deleted ‘mysql’ database directory, which is created by default (for my system - C:\Program Files\MySQL\MySQL Server 5.1\data). Rest all databases are there. ibdata1 is also safe.

Is there any way to restore it? Does anything inside it (‘mysql’ directory) changes? I think it does, because in another machine (which also has MySQL installed), I can see few file’s timestamps that are different from other files such as user.MYI, db.MYI, db.MYD, & user.MYD

Can anyone help me please in restoring 'mysql' database directory?

Thanks & Regards,
Gaurav Chhabra

Options: ReplyQuote

Written By
'mysql' database got deleted accidently
February 03, 2010 09:36AM

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.