Change my.cnf thread_stack

hardc0ded
2013-07-06
2013-07-06
  • hardc0ded
    hardc0ded
    2013-07-06

    Hello,

    Using the latest version of ZWAMP available (2.2.1 x86_64 Build), when I try
    to execute a stored procedure I get an annoying error:

    Error Code: 1436. Thread stack overrun: 10544 bytes used of a 131072 byte
    stack, and 128000 bytes needed. Use 'mysqld --thread_stack=#' to specify a
    bigger stack.

    The solution is to replace this line in my.cnf (you can use tray icon):

    thread_stack = 128K

    to

    thread_stack = 256K

    Should do the trick.

    Cheers!