MySQL 报错 thread_stack=#\' to specify a bigger stack
2016-07-05 11:20
681 查看
问题:
把MySQL从阿里云还原到本地之后,启动Tomcat7,从浏览器运行WEB系统报如下的错误:
### Error querying database.? Cause: java.sql.SQLException: Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.
### The error may exist in com/anche/systemService/page/page.xml
### The error may involve com.anche.systemService.page.dao.IDao_page.queryPageDataCount-Inline
### The error occurred while setting parameters
### SQL: {call? p_getDataCount (?,?)}
### Cause: java.sql.SQLException: Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.
; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1436]; Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.; nested exception is java.sql.SQLException: Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.
解决:
打开my.ini配置文件,修改 read_rnd_buffer_size = 256K
(原来是128K)
把MySQL从阿里云还原到本地之后,启动Tomcat7,从浏览器运行WEB系统报如下的错误:
### Error querying database.? Cause: java.sql.SQLException: Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.
### The error may exist in com/anche/systemService/page/page.xml
### The error may involve com.anche.systemService.page.dao.IDao_page.queryPageDataCount-Inline
### The error occurred while setting parameters
### SQL: {call? p_getDataCount (?,?)}
### Cause: java.sql.SQLException: Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.
; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1436]; Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.; nested exception is java.sql.SQLException: Thread stack overrun:? 3480 bytes used of a 131072 byte stack, and 0 bytes needed.? Use 'mysqld --thread_stack=#' to specify a bigger stack.
解决:
打开my.ini配置文件,修改 read_rnd_buffer_size = 256K
(原来是128K)
相关文章推荐
- MySQL 学习
- 解决mysql显示中文乱码的问题
- mysql init-connect + binlog的方法进行mysql的审计
- mysql安全策略
- Mysql大范围分页优化案例
- MySQL 及 SQL 注入与防范方法
- Mysql的安装(二进制免编译包) 5.1版本
- MySQL 查看表结构、索引、触发器 的SQL语句
- 【学习笔录】Mysql多表删除语句
- 无法启动mysql服务,发生错误1067
- MySQL空值与非空
- MySQL允许root帐号远程登录 错误1045
- HOSt ip is not allowed to connect to this MySql server
- 解决xtrabackup command not found no mysqld group 问题
- C#通用数据库操作类 支持Access/MSSql/Orale/MySql等数据库
- MYSQL性能优化分享(分库分表)
- 干货分享:MySQL之化险为夷的【钻石】抢购风暴【转载】
- 怎么用MySQL命令行导入sql数据库
- mysql两个日期之差 止付与冻结 2016.07.04回顾
- MySQL 常见错误分析与解决方法