码迷,mamicode.com
首页 > 数据库 > 详细

mysql调用存储过程的时候,报错ERROR 1436 (HY000): Thread stack overrun: 解决办法

时间:2019-03-11 13:14:45      阅读:332      评论:0      收藏:0      [点我收藏+]

标签:mysqld   ecif   ctp   art   sql   start   res   over   ini   

mysql> call productpricing();
ERROR 1436 (HY000): Thread stack overrun: 10368 bytes used of a 131072 byte stack, and 128000 bytes needed. Use ‘mysqld --thread_stack=#‘ to specify a bigger stack.

解决办法:

vim /etc/my.cnf
thread_stack = 128K ##原来为128,根据报错提示,我改大一点
/etc/init.d/mysqld restart

效果:

mysql> call productpricing();
+--------------+
| priveaverage |
+--------------+
| 16.133571 |
+--------------+
1 row in set (0.01 sec)
Query OK, 0 rows affected (0.01 sec)
mysql>

mysql调用存储过程的时候,报错ERROR 1436 (HY000): Thread stack overrun: 解决办法

标签:mysqld   ecif   ctp   art   sql   start   res   over   ini   

原文地址:https://www.cnblogs.com/yanranran/p/10509692.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!