I have just restarted my dev machine, and now MySQL refuses to start up. When I start the service, it instantly throws an exception and dies...
I can't think of anything I could've changed before restarting that could've affected MySQL in any way...
This is MySQL Server 5.1 running on Windows 2003 Server.
This is what the log file says:
090703 14:11:17 - mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
key_buffer_size=26214400
read_buffer_size=65536
max_used_connections=0
max_threads=100
threads_connected=0
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 58231 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
006B8853 mysqld.exe!srv_parse_data_file_paths_and_sizes()[srv0start.c:211]
006A7E18 mysqld.exe!innobase_init()[ha_innodb.cc:1536]
00442748 mysqld.exe!ha_initialize_handlerton()[handler.cc:434]
00561253 mysqld.exe!plugin_initialize()[sql_plugin.cc:1002]
00565AE5 mysqld.exe!plugin_init()[sql_plugin.cc:1209]
004CE1B4 mysqld.exe!init_server_components()[mysqld.cc:3831]
004CE8C6 mysqld.exe!win_main()[mysqld.cc:4267]
004CECDB mysqld.exe!mysql_service()[mysqld.cc:4439]
00724593 mysqld.exe!_callthreadstart()[thread.c:293]
0072462C mysqld.exe!_threadstart()[thread.c:275]
77E6482F kernel32.dll!GetModuleHandleA()
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Any ideas?
Should I uninstall and reinstall MySQL?
Is there anything quicker than I can do?
Thanks!
Try deleting innodb logfiles (ib_logfileXX in your data directory) before starting.
I ended up just uninstalling and reinstalling MySQL, and it's working fine now.
Thanks!
I had this error after running out of harddisk space. I finally solved it by deleting ib*.tmp files from C:\Windows\temp which were causing the startup to fail, even for data directories that were previously working.
Aleksandar
Almost three years after your post, it is still helping people (well, specifically - me)! Thanks for that. Deleting the ib_logfileXX 'saved me'! MySQL 5.0 service would not start with a system error of 1067 on a Windows 2003 server SP2 + fully patched. After deleting the files I was able to start the service. Problem occurred after a power outage at my ISP. MySQL had been running fine for the two years prior to that moment.
Just in case it helps someone else find this page in the future I am posting the info from my error log file:
0xc0000005 is what, an "Access Violation" error? Sounds like (a) there's a bug - a bad pointer triggered an attempt to "touch" memory that is protected, resulting in the OS slapping its fingers, or (b) you have some bad RAM installed, and a bad spot is triggering a pointer to access memory that is protected, resulting in the same yada-yada as (a).
If you re-install MySQL, would it be possible to install v5.0 instead of v5.1? There were initial reports of 5.1 having some stability issues when compared to 5.0, although I'm sure that those issues have been addressed by now...of course, if you are using features specific to 5.1, that's out of the question...
Seems to indicate that there is a problem parsing your configuration file, I would examine it with a good text editor, check for non ASCII characters and check that all the paths and variables are sensible.
Try deleting aria_log files (aria_logXXXXXX) dir:
xampp/mysql/data
before starting.