aspose file tools*
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
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
 
Similar Threads
need exception explanation
Hibernate c3p0.timeout and MySQL wait_timeout
Setting Up Ant with enviromental variables?
Installing mysql on Linux
java.net.SocketException: Broken pipe