dsriya5471 2013-04-30 07:30
浏览 37

执行大型sql语句时出错

I am trying to run a very very long sql statement but I get this error

Thread stack overrun: 230352 bytes used of a 262144 byte stack, and 32000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.

How can I assign a bigger stack or solve this problem?? I am using wamp, localhost.

  • 写回答

1条回答 默认 最新

  • duange051858 2013-04-30 08:26
    关注

    If you have queries that large then you really should be passing parameters into a stored procedure, or batch execution of the SQL. You can change the WAMP MySQL initialization if required, or just use PHPMyAdmin

    评论

报告相同问题?

悬赏问题

  • ¥15 有赏,i卡绘世画不出
  • ¥15 如何用stata画出文献中常见的安慰剂检验图
  • ¥15 c语言链表结构体数据插入
  • ¥40 使用MATLAB解答线性代数问题
  • ¥15 COCOS的问题COCOS的问题
  • ¥15 FPGA-SRIO初始化失败
  • ¥15 MapReduce实现倒排索引失败
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码