当前位置:  数据库>mysql

Mysql Error Code : 1436 Thread stack overrun

    来源: 互联网  发布时间:2014-09-06

    本文导语:  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 th...

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.


    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • Mysql查询错误:ERROR:no query specified原因
  • 解析mysql数据库还原错误:(mysql Error Code: 1005 errno 121)
  • ubuntu 10 安装mysql ,ERROR 2002 (HY000): Can't connect to local MySQL server throu
  • mysql program link error
  • mysql登录遇到ERROR 1045问题解决方法
  • 解决mysql ERROR 1017:Can't find file: '/xxx.frm' 错误
  • mysql启动 Timeout error occurred trying to start MySQL Daemon.
  • mysql出现Error performing load command的解决方法
  • mysql error 1130 hy000:Host'localhost'解决方案
  • mysql启动的error 2003和1067错误问题解决方法
  • 解析在MySQL里创建外键时ERROR 1005的解决办法
  • mysql错误处理之ERROR 1665 (HY000)
  • mysql错误处理之ERROR 1786 (HY000)
  • 在linux连接mysql数据库出现The server encountered an internal error () that prevented it from fulfilling this request.
  • Mysql ERROR 1577错误解决方法
  • php 不能连接数据库 php error Can't connect to local MySQL server
  • Mysql启动中 InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes 的问题
  • mysql不能启动报error2013错误的多种解决方案
  • 安装mysql 出现“The error means mysqld does not have the access rights to”
  • mysql 有关“InnoDB Error ib_logfile0 of different size”错误
  • 详解远程连接Mysql数据库的问题(ERROR 2003 (HY000))
  • mysql中如何查看最大连接数(max_connections)和修改最大连接数
  • 在 linux下输入"mysql"命令,进入mysql命令行,但出现“Can't connetc to local MySQL server thuough socket /var/lib/mysql/mysql.sock
  • php安装完成后如何添加mysql扩展
  • MySQL 重装MySQL后, mysql服务无法启动
  • mysql中查询当前正在运行的SQL语句并找出mysql中运行慢的sql语句
  • 为什么用linux安装盘安装了mysql后,启动mysql,提示找不到mysql.sock文件?
  • Myeclipse中自带Tomcat的JDBC连接池配置(mysql和mssql)
  • 請教,在redhat linux7.2+mysql 中,系統提示mysql已啟動,網頁卻不能訪問mysql?
  • MySQL Workbench的下载安装与使用教程
  • 求解释: useradd -g mysql mysql -d /home/mysql -s /sbin/nologin


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3