ERRNO: 256

TEXT: SQLSTATE[HY000]: General error: 1436 Thread stack overrun: 4904 bytes used of a 131072 byte stack, and 128000 bytes needed. Use ‘mysqld -O thread_stack=#‘ to specify a bigger stack.

According to the MySQL manual “The default (192KB) is large enough for normal operation. If the thread stack size is too small, it limits the complexity of the SQL statements that the server can handle, the recursion depth of stored procedures, and other memory-consuming actions” .

To resolve this issue you need to change the default value of parameter ‘thread_stack‘ in /etc/my.cnf  in your MySQL configuration file. I use the XAMPP for php/mysql development.

Once you set this value you need to restart MySQL as this value cannot be set dynamically.

you maybe also encounter with the message when you try to modify the my.cnf

"Cannot open file for writing: Permission denied"

We will try to use the ‘chmod‘ instruction to change permission as usually. I seldom take the concrete permission into consideration, so I use always use the ‘chmod 777‘. but it resulted in another errors when I use the phpmyadmin, another tools included in XAMPP, after running ‘chmod 777‘.

After googling it, I get this file (my.cnf) permissions has to be 600. I change its permission and it works well now.

原文:http://www.jb51.net/article/27564.htm

mysql 1436,Mysql Error Code : 1436 Thread stack overrun相关推荐

  1. 大批量数据写入mysql报错 #1436 Thread stack overrun

    一次插入5万条数据导致数据库报错:General error: 1436 Thread stack overrun: 246144 bytes used of a 262144 byte stack, ...

  2. mysql sql执行错误#1436 Thread stack overrun

    1.mysql调用存储过程  call proc1() 时报错: Thread stack overrun: 6656 bytes used of a 8496 byte stack, and 128 ...

  3. mysql 写100000行入表时报错 Thread stack overrun

    Thread stack overrun:  11552 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysql ...

  4. mysql-debug: Thread stack overrun

    bug info 报错信息: java.sql.SQLException: Thread stack overrun: 5456 bytes used of a 131072 byte stack, ...

  5. Mybatis插入数据报错:java.sql.SQLException: Thread stack overrun

    插入数据控制台报错:Thread stack overrun WM_MATERIAL detail:Thread stack overrun: 13224 bytes used of a 131072 ...

  6. MySQL更新时Error Code:1093和Error Code:1175的解决办法

    Error Code: 1093. You can't specify target table 'ws_product' for update in FROM clause 这个是我们在使用upda ...

  7. mysql提示错误[Error Code] 1290 - The MySQL server is running with the --secure-file-priv option解决办法...

    1.进入mysql查看secure_file_prive的值 $mysql -u root -p mysql>SHOW VARIABLES LIKE "secure_file_priv ...

  8. MYSQL ERROR CODE 错误编号的意义

    mysql error code(备忘) 转1005:创建表失败 1006:创建数据库失败 1007:数据库已存在,创建数据库失败 1008:数据库不存在,删除数据库失败 1009:不能删除数据库文件 ...

  9. mysql 错误1136_mysql,_MySQL错误:Error Code: 1136,mysql - phpStudy

    MySQL错误:Error Code: 1136 我有一张数据表,表结构如下: CREATE TABLE IF NOT EXISTS `icy_car` ( `car_id` bigint(20) N ...

  10. Error connecting to MySQL: Too many connections(code 1040)的错误解决方法

    文章目录 1. 复现错误 2. 分析错误 3. 解决问题 4. 补充说明 1. 复现错误 今天前端在调试接口时,报出Too many connections的错误. 于是,打开出MySQL数据库,报出 ...

最新文章

  1. 最好用的几款数据恢复软件
  2. c++ 回调函数_Java中的回调机制,这篇给你整的明明白白的
  3. 海量数据处理:两个大文件中的相同记录
  4. 计算机模块考试注意事项,常考计算机模块考试操作注意事项.doc
  5. JAVA中equals空_Java中为什么查询空字符串跟判断是否为null的时候可以不用equals?...(亲测)
  6. STL学习系列一:STL(标准模板库)理论基础
  7. 刚才看到一篇文章,感觉不错,转载过来和大家分享:
  8. mysql配置文件my.cnf_MariaDB/MySQL配置文件my.cnf详解
  9. PHP设计模式——观察者模式
  10. oppo手机android功能,向日葵Android客户端保持在线设置(OPPO手机篇)
  11. 职业院校教师招聘结构化面试
  12. 张小龙2019微信公开课演讲实录
  13. 封装获取一个URL地址问号后面传递的参数信息以及哈希值HASH 方法
  14. 设置linux睡眠时间,Linux 睡眠时间函数如何使用?延迟指定时间sleep命令了解一下...
  15. ckplayer无法播放问题?
  16. 怎么在电脑中更新statsmodels.stats. diagnostic
  17. 男人就撑100秒flash游戏制作教程
  18. 【小程序】之net::ERR_NAME_NOT_RESOLVED的问题
  19. Java采集PPI指数_PPI(工业品价格指数)是怎样调查计算出来的?
  20. JQuery 查询文档元素

热门文章

  1. 互联网项目经理的职业规划
  2. Java中文件File相关知识
  3. 微信域名防封的3种方案
  4. R语言str_c函数
  5. 时空序列预测之Memory In Memory: A Predictive Neural Network for Learning Higher-OrderNon-Stationarity
  6. 如何批量将多个Excel文件转换为PDF - 批量Excel转PDF转换器快速教程
  7. Python第二阶段学习 day17
  8. 企业微信调用扫一扫接口
  9. 气体流量传感器在汽车电子上的应用
  10. sge中的windows选项