my dog learned polymorphism
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "Setting MySQL variables" Watch "Setting MySQL variables" New topic

Setting MySQL variables

Ali Ekber
Ranch Hand

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


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:
subject: Setting MySQL variables
It's not a secret anymore!