Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试运行一个非常长的 sql 语句,但出现此错误
线程堆栈溢出:262144 字节堆栈使用了 230352 字节,需要 32000 字节。使用 'mysqld --thread_stack=#' 指定更大的堆栈。
如何分配更大的堆栈或解决此问题?我正在使用 wamp,本地主机。
如果您有这么大的查询,那么您确实应该将参数传递给存储过程,或批量执行 SQL。如果需要,您可以更改 WAMP MySQL 初始化,或者只使用 PHPMyAdmin