今天遇到這樣一個問題:
ERROR 1436 (HY000) at line 1943: Thread stack overrun: 7200 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.
這種情況的解決辦法是:
修改my.cnf提升thread_stuck到256k,這樣可以永久地避免這個問題。