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. torch.var()、样本方差、母体方差
  2. python基础第三章选择结构答案-零基础学Python--------第3章 流程控制语句
  3. 6.4 如何初始化聚类中心-机器学习笔记-斯坦福吴恩达教授
  4. “抢滩”中高端酒店,新老玩家谁会更先跑出来?
  5. 码住!Flink Contributor 速成指南
  6. 《构建之法》第十三章学习总结
  7. 新松机器人电气三天考核_比技能更比匠心,3天内高手的这些作品令人惊叹……...
  8. 运算符 python
  9. Python机器学习:PCA与梯度上升:008使用PCA对数据进行降噪
  10. 【论文笔记】A Convolutional Neural Network Cascade for Face Detection
  11. vc2013控件第一个程序
  12. 计算机组装与维护要点,《计算机组装与维护》要点.ppt
  13. 阿里云文字转语音接口
  14. 【win10清理系统垃圾脚本】
  15. 拷机软件 从软件测试中得知自己机器的性能
  16. 北京工业大学外网访问知网数据库方法
  17. 9.5 隐函数求导法则
  18. css怎么使图片变暗些
  19. HTML PDF 查看器--RAD PDF 3.33 FOR ASP.NET
  20. mySql | Error: ER_DATA_TOO_LONG: Data too long for column 'base_info' at row 1

热门文章

  1. 【路径规划】基于matlab人工势场法机器人避障路径规划【含Matlab源码 620期】
  2. ​UI自动化测试面试题及答案大全
  3. 华北科技c语言综合实验报告,c语言实训报告心得(2)
  4. c语言判断字符串str1中含有字符串str2(是否为子串问题)
  5. 计算机无法正常启动安全模式开启,Win7电脑开机无法正常启动只能进入安全模式怎么解决...
  6. 计算机开机桌面黑,电脑能正常启动但屏幕全黑原因和解决方法
  7. pdf签名无效解决办法_谁告诉你PDF不能修改了?我不仅可以直接编辑,还能随便转化格式!...
  8. 优秀的人真是“自律”吗? —— 《微习惯》读后感
  9. c语言第七章函数实验总结,C语言学习与总结---第七章:函数 [01]
  10. 苹果CMS采集参数全自动采集教程