090920 11:33:58 - 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=57671680 read_buffer_size=65536 max_used_connections=4 max_threads=100 threads_connected=4 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 89213 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x5bb6ae0 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... InnoDB: Thread 5732 stopped in file G:\mysql-5.1.38-winbuild\mysql-community-nt-5.1.38-build\storage\innobase\include\sync0sync.ic line 115 InnoDB: Thread 4568 stopped in file G:\mysql-5.1.38-winbuild\mysql-community-nt-5.1.38-build\storage\innobase\include\sync0sync.ic line 115 00000001402112F8 mysqld.exe!ha_innobase::open()[ha_innodb.cc:2735] 0000000140097E45 mysqld.exe!handler::ha_open()[handler.cc:2059] 00000001401107E9 mysqld.exe!open_table_from_share()[table.cc:1881] 0000000140077499 mysqld.exe!open_unireg_entry()[sql_base.cc:3911] 000000014007AAC2 mysqld.exe!open_table()[sql_base.cc:2908] 000000014007B751 mysqld.exe!open_tables()[sql_base.cc:4572] 000000014007BC28 mysqld.exe!open_and_lock_tables_derived()[sql_base.cc:4978] 0000000140068BE8 mysqld.exe!execute_sqlcom_select()[sql_parse.cc:4976] 000000014006A137 mysqld.exe!mysql_execute_command()[sql_parse.cc:2206] 000000014006E736 mysqld.exe!mysql_parse()[sql_parse.cc:5935] 000000014006F2CA mysqld.exe!dispatch_command()[sql_parse.cc:1215] 000000014006FF37 mysqld.exe!do_command()[sql_parse.cc:854] 00000001400963C7 mysqld.exe!handle_one_connection()[sql_connect.cc:1127] 0000000140315565 mysqld.exe!pthread_start()[my_winthread.c:85] 00000001402DF7D7 mysqld.exe!_callthreadstart()[thread.c:295] 00000001402DF8A5 mysqld.exe!_threadstart()[thread.c:275] 00000000770C542D kernel32.dll!BaseThreadInitThunk() 000000007720BE51 ntdll.dll!RtlUserThreadStart() Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0000000005BC2EF0=SELECT COUNT(*) FROM `company` thd->thread_id=7 thd->killed=NOT_KILLED 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.