PDA

View Full Version : Set the MySQL Connection Timeout ?


mox
10-07-04, 14:32
How can I change the MySQL Connection Timeout ?

A client needs to know the MySQL Connection timeout and if required we will have to change it.. I tried to look for a mysql.conf file, but I can't find anything..

Anyone have the solution ?

Thanks,
--ben

dynamicnet
10-07-04, 14:52
Greetings Ben:

You can create it in /etc/my.cnf

Thank you.

cybernova
10-12-04, 17:01
HI,

[mysqld]
:
:
wait_timeout = 1800
connect_timeout = 10
:
:

You can set some of the time outs it in this manner in the file my.cnf

Regards
Sam o Neil