Hello,
I've been using my local computer for development purposes. I have MySql 5.1 installed and till yesterday everything was working fine - I was able to connect to it.
From today morning - I'm getting this error.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
When I look in the services - it does show Mysql status as "Started"
When I look at the processes that are running - I still see the mysqld running
But I'm not able to connect to it either through command prompt or toad or my java program.
I looked at the location C:\Program Files\MySQL\MySQL Server 5.1\data and I see a file with extension .err which was modified the same time mysql started throwing this error.
I looked into the file - its pretty huge - but these are the kind of messages it contained
080921 4:10:21 InnoDB: Assertion failure in thread 2660 in file .\fil\fil0fil.c line 4073
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to
http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB:
http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.htmlInnoDB: about forcing recovery.
080921 4:10:21 [ERROR] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: Got signal 11. Aborting!
080921 4:10:21 [ERROR] Aborting
080921 4:10:21 InnoDB: Starting shutdown...
I think my db has been corrupted - but I have no idea why this happens. How can I recover from this and prevent this from happening again.
Any help will be appreciated.
Thanks
Start Free Trial