Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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.
Don't get me started about those stupid light bulbs.
subject: Setting MySQL variables