my.ini
[mysqld]
#绑定IPv4
bind-address = 0.0.0.0
# 设置mysql的安装目录,即你解压缩安装包的位置
basedir = D:\\server\\mysql-5.7.21-winx64
# 设置mysql数据库的数据的存放目录
datadir = D:\\server\\mysql-5.7.21-winx64\\data
# 设置端口号
port = 3306
# 允许最大连接数
max_connections = 1000
# 设置字符集为utf8
loose-default-character-set = utf8
# 开启查询缓存
# explicit_defaults_for_timestamp = false
# 不区分大小写
lower_case_table_names=1
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
#执行文件大小
max_allowed_packet = 1000M
[client]
#设置客户端字符集
port=3306
default-character-set = utf8
[WinMySQLadmin]
Server = D:\\server\\mysql-5.7.21-winx64\\bin\\mysqld.exe
报错
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=131072
max_used_connections=3
max_threads=1000
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 = 404356 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x138e30c0
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...
7fef5cc5c01 MSVCR120.dll!pow()
13f6641ba mysqld.exe!get_sweep_read_cost()[handler.cc:7215]
13fc1c3d7 mysqld.exe!ror_intersect_add()[opt_range.cc:5461]
13fc12139 mysqld.exe!get_best_ror_intersect()[opt_range.cc:5642]
13fc1e6c5 mysqld.exe!test_quick_select()[opt_range.cc:3108]
13f7ca81e mysqld.exe!get_quick_record_count()[sql_optimizer.cc:5949]
13f7c926d mysqld.exe!JOIN::estimate_rowcount()[sql_optimizer.cc:5695]
13f7cbff9 mysqld.exe!JOIN::make_join_plan()[sql_optimizer.cc:5052]
13f7cdb6b mysqld.exe!JOIN::optimize()[sql_optimizer.cc:368]
13f81dfc9 mysqld.exe!st_select_lex::optimize()[sql_select.cc:1009]
13f8301d5 mysqld.exe!st_select_lex_unit::optimize()[sql_union.cc:703]
13f81dfe7 mysqld.exe!st_select_lex::optimize()[sql_select.cc:1015]
13f81bfed mysqld.exe!handle_query()[sql_select.cc:164]
13f6859a7 mysqld.exe!execute_sqlcom_select()[sql_parse.cc:5156]
13f6878d6 mysqld.exe!mysql_execute_command()[sql_parse.cc:2792]
13f68b358 mysqld.exe!mysql_parse()[sql_parse.cc:5588]
13f6843f4 mysqld.exe!dispatch_command()[sql_parse.cc:1461]
13f68541a mysqld.exe!do_command()[sql_parse.cc:1001]
13f62bcac mysqld.exe!handle_connection()[connection_handler_per_thread.cc:300]
140089772 mysqld.exe!pfs_spawn_thread()[pfs.cc:2193]
13fd9c2dc mysqld.exe!win_thread_start()[my_thread.c:38]
7fef5c54f7f MSVCR120.dll!_beginthreadex()
7fef5c55126 MSVCR120.dll!_endthreadex()
76fef56d kernel32.dll!BaseThreadInitThunk()
77223281 ntdll.dll!RtlUserThreadStart()
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (13a35880): SELECT
bh.end_date
FROM
booth_hire bh
WHERE bh.booth_no = 'AJ23,AJ24,AJ25,'
AND bh.vender_id = 18383
AND bh.status = 0
LIMIT 1
Connection ID (thread ID): 2
Status: NOT_KILLED
sql有问题?
试试这个
SELECT
s.id,
s.name,
s.price,
s.unit
from sample as s where id = 20205
EDITED
应该MySQL的bug
https://bugs.mysql.com/bug.ph...
https://bugs.mysql.com/bug.ph...
与你的报错很类似
建议提交Bug