MySQL Forums
Forum List  »  Data Recovery

Cannot create mysql.db Restoring all databases from a dump file
Posted by: James Marcus
Date: March 31, 2010 01:15PM

Hi,
I'm trying to restore all my databases from a dump file. I'm running
MySQL Ver 14.14 Distrib 5.1.31, for unknown-linux-gnu (x86_64) using readline 5.1

[root@db1 databaseBackup]# mysql -u tupo_admin -p < backup-20100330-040205.sql
Enter password:
ERROR 1005 (HY000) at line 50: Can't create table 'mysql.db' (errno: -1)


Been banging my head against a wall for a while now trying to find information on this error. Other files are created and it seems once it gets to 'mysql.db' it dies.

Any thoughts?

Thanks,
James

Options: ReplyQuote


Subject
Views
Written By
Posted
Cannot create mysql.db Restoring all databases from a dump file
4679
March 31, 2010 01:15PM


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.