I keep getting this error whether I run my query from the terminal or from within Java. Anyone has some instructions how to resolve this?
Thread stack overrun: 5768 bytes used of a 131072 byte stack, and 128000 bytes needed.
Use 'mysqld -O thread_stack=#' to specify a bigger stack.
BTW: I am using mac osx lion