131007 13:38:31 [Note] Plugin 'FEDERATED' is disabled. InnoDB: The log sequence number in ibdata files does not match InnoDB: the log sequence number in the ib_logfiles! 131007 13:38:31 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information from the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... 131007 13:38:32 InnoDB: Started; log sequence number 76 637647188 131007 13:38:32 [Note] Event Scheduler: Loaded 2 events 131007 13:38:32 [Note] Event Scheduler: scheduler thread started with id 1 131007 13:38:32 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld: ready for connections. Version: '5.1.47-community' socket: '' port: 3306 MySQL Community Server (GPL) 131007 13:39:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:40:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:41:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:42:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:43:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:44:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:45:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:46:04 [Warning] Event Scheduler: [stephen@%][utilities.process_event_queue] No data - zero rows fetched, selected, or processed 131007 13:46:56 - 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=650117120 read_buffer_size=65536 max_used_connections=1 max_threads=100 threads_connected=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 667784 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd: 0x7b3f2c70 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... 00000001401D015E mysqld.exe!Item_func_group_concat::fix_fields()[item_sum.cc:3197] 00000001400C4455 mysqld.exe!Item_func::fix_fields()[item_func.cc:171] 0000000140046363 mysqld.exe!Item_func_like::fix_fields()[item_cmpfunc.cc:4589] 00000001400C4455 mysqld.exe!Item_func::fix_fields()[item_func.cc:171] 000000014007C102 mysqld.exe!setup_fields()[sql_base.cc:7502] 000000014016B1F9 mysqld.exe!JOIN::prepare()[sql_select.cc:521] 000000014017470E mysqld.exe!mysql_select()[sql_select.cc:2488] 0000000140174B76 mysqld.exe!handle_select()[sql_select.cc:269] 0000000140069D50 mysqld.exe!execute_sqlcom_select()[sql_parse.cc:5068] 000000014006C637 mysqld.exe!mysql_execute_command()[sql_parse.cc:2263] 000000014014F388 mysqld.exe!sp_instr_stmt::exec_core()[sp_head.cc:2924] 0000000140152116 mysqld.exe!sp_lex_keeper::reset_lex_and_exec_core()[sp_head.cc:2744] 00000001401522D3 mysqld.exe!sp_instr_stmt::execute()[sp_head.cc:2868] 0000000140153835 mysqld.exe!sp_head::execute()[sp_head.cc:1249] 000000014015424A mysqld.exe!sp_head::execute_function()[sp_head.cc:1768] 00000001400D0A5F mysqld.exe!Item_func_sp::execute_impl()[item_func.cc:5913] 00000001400D0E01 mysqld.exe!Item_func_sp::execute()[item_func.cc:5841] 00000001400D0ECE mysqld.exe!Item_func_sp::val_int()[item_func.h:1659] 00000001400F6F8D mysqld.exe!Item::send()[item.cc:5586] 000000014005CBFF mysqld.exe!select_send::send_data()[sql_class.cc:1679] 0000000140173492 mysqld.exe!JOIN::exec()[sql_select.cc:1798] 000000014017477A mysqld.exe!mysql_select()[sql_select.cc:2511] 0000000140174B76 mysqld.exe!handle_select()[sql_select.cc:269] 0000000140069D50 mysqld.exe!execute_sqlcom_select()[sql_parse.cc:5068] 000000014006C637 mysqld.exe!mysql_execute_command()[sql_parse.cc:2263] 0000000140070B5E mysqld.exe!mysql_parse()[sql_parse.cc:5990] 0000000140071703 mysqld.exe!dispatch_command()[sql_parse.cc:1235] 00000001400723C7 mysqld.exe!do_command()[sql_parse.cc:874] 0000000140098D37 mysqld.exe!handle_one_connection()[sql_connect.cc:1134] 000000014031C345 mysqld.exe!pthread_start()[my_winthread.c:85] 00000001402E63F7 mysqld.exe!_callthreadstart()[thread.c:295] 00000001402E64C5 mysqld.exe!_threadstart()[thread.c:275] 0000000076EA652D kernel32.dll!BaseThreadInitThunk() 00000000770DC541 ntdll.dll!RtlUserThreadStart() Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0000000080299328=SELECT (IFNULL(GROUP_CONCAT(DISTINCT c.type_code ORDER BY 1) LIKE s.setting_value, FALSE)) FROM cover v JOIN plan p ON v.plan_code = p.plan_code JOIN plan_detail d ON v.plan_code = d.plan_code JOIN category c ON d.category_code = c.category_code JOIN utilities.setting s WHERE v.family_id = NAME_CONST('p_family_id',844076) AND NAME_CONST('p_date',_binary'2013-10-07' COLLATE 'binary') BETWEEN v.start_cover AND v.end_cover AND s.setting_name = "unimed.comprehensive_category_type_filter" INTO result thd->thread_id=3 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.