MYSQL 内存报错 Use 'mysqld --thread_stack=#' to specify a bigger stack.

时间:2023-03-08 19:09:59

今天在使用mysql的过程中,连接数据库始终无法成功

最后发现是数据库无法执行增加修改的操作

:错误代码

Thread stack overrun:  11552 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysqld --thread_stack=#' to specify a bigger stack.

解决办法

修改mysql 配置文件

my.ini

thread_stack  参数调整的更大一些  我设置是256K

my-small.ini

thread_stack=256K

重启mysql 服务即可