Koozali.org: home of the SME Server

MySQL threas_stack

Thomas Ihlebæk

MySQL threas_stack
« on: March 22, 2003, 09:42:24 PM »
Hi folks! This is an faq of "EMS-Hightech"
---------------------------------------------------------------------------------------------------------------
Q: Everytime I try to connect to MySQL on remote Linux server, I get the 'Lost connection to MySQL server during query' error. What's wrong?
 
A: This error can occur if your Linux glibc requires greater than 128K of stack size to resolve a hostname. It happens primarily on RedHat 8.0 system with MySQL version lower than 4.0.10, but also can happen with another configuration. To solve such issue, add/edit the following line to the [mysqld] section of MySQL configuration file:

set-variable = thread_stack=192k # value must be 192K or higher
----------------------------------------------------------------------------------------------------------------

 
How should I do that? I've set up a test-SME to test...

Regards
Thomas I

dustin

Re: MySQL threas_stack
« Reply #1 on: March 23, 2003, 07:48:18 AM »
Have you tried updating your glibc and glibc-progs to the redat 7.3updates yet?

Thomas Ihlebek

Re: MySQL threas_stack
« Reply #2 on: March 23, 2003, 10:02:32 AM »
I love you all, folks!!

;-)

It's all here:

http://e-smith.org/bboard/read.php?f=1&i=23570&t=23210

Thanks in advance!
Thomas