Friday, June 1, 2012

Learning MySQL: Part 3

Show server variables
shell> mysqladmin variables

wait_timeout
MySQL's default behavior is for connections to be timed out on MySQL's side after 8 hours of inactivity. This can be changed by adding the command line option when starting mysqld "--wait_timeout=120"

No comments:

Post a Comment