今天发现mysql的一个问题,当跑update语句的时候,mysql 服务会自动断掉,无论用 phpmyadmin, navicat , mysql workbench 甚至用 mysql命令行效果一样。
我的环境是 : windows server 2008 R2 + mysql5.7.18-win64。
mysql 日志显示:
06:36:18 UTC - mysqld got exception 0xc000001d ; 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. Attempting to collect some information that could help diagnose the problem. As this is a crash and something is definitely wrong, the information collection process might fail. key_buffer_size=8388608 read_buffer_size=8192 max_used_connections=2 max_threads=151 thread_count=2 connection_count=2 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 49892 K bytes of memory Hope that‘s ok; if not, decrease some variables in the equation. Thread pointer: 0xa066480 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... 7fef5755c01 MSVCR120.dll!pow() 13f8a62aa [email protected]@[email protected]@[email protected]@@Z() 13fe68107 [email protected][email protected][email protected]@[email protected][email protected]@[email protected][email protected]@@@@[email protected]@[email protected]@@@[email protected]() 13fe5e059 [email protected][email protected]@QEAAXXZ() 13fe6a3f5 [email protected]@[email protected]@[email protected][email protected]@@[email protected][email protected]@[email protected]@[email protected]@[email protected][email protected]@@Z() 13fb18ce7 [email protected]@[email protected]@[email protected]@@@@[email protected]@[email protected]() 13fb1afb0 [email protected][email protected]@[email protected]@[email protected]() 13fb172ea [email protected][email protected]@[email protected]@@Z() 13f8d72d5 [email protected]@[email protected]@[email protected]() 13f8d9bf3 [email protected]@[email protected]@[email protected]@@Z() 13f8d2c93 [email protected]@[email protected]@[email protected]@[email protected]@@Z() 13f8d3cda [email protected]@[email protected]@@Z() 13f87a80c mysqld.exe!handle_connection() 1402d5932 [email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected]() 13ffe7e6c mysqld.exe!my_thread_once() 7fef56e4f7f MSVCR120.dll!_beginthreadex() 7fef56e5126 MSVCR120.dll!_endthreadex() 7703f34d kernel32.dll!BaseThreadInitThunk() 77172cc1 ntdll.dll!RtlUserThreadStart() Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (e881f30): UPDATE `system_lane_type` SET `lane_type`=‘lane8‘ WHERE (`lane_type_id`=‘3‘) Connection ID (thread ID): 3 Status: 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.
中间经过多种尝试,最后经过 google google google 查到解决方法,安装 2008 sp1的补丁就可以了,微软官方下载:windows6.1-KB976932-X64.exe
以下是搜索到的2篇文章:
https://bugs.mysql.com/bug.php?id=81538
http://www.talkwithtrend.com/Question/405405
时间: 2024-09-29 09:33:52