简体   繁体   中英

Error executing big sql statements

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM