wood burning stoves 2.0*
The moose likes JDBC and the fly likes Setting MySQL variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Setting MySQL variables" Watch "Setting MySQL variables" New topic
Author

Setting MySQL variables

Ali Ekber
Ranch Hand

Joined: Jun 12, 2005
Posts: 41
I have below lines in my my.cnf file:

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
old_passwords=1

set-variable = table_cache=1200
set-variable = connect_timeout=12
set-variable = wait_timeout=7200
....

When I re-start MySQL, it picks up all the variables correctly, except wait_timeout. MySQL version is 4.1 and running on Linux.

Cannot figure why it is not picking up the wait_timeout.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting MySQL variables