I have a mysqldump of all databases, including mysql
.
I'm using mysql 5.6 on Windows 2008 R2. How can I restore my backup ?
The problem is that I cannot start the server when the database mysql
is missing.
Edit: This is what happened exactly:
I got this error while running some query:
[ERROR] Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space
I tried to restart mysqld
, but it did not restart because of this error in the log:
InnoDB: Database page corruption on disk or a failed
InnoDB: file read of page 2568.
InnoDB: You may have to recover from a backup.