Option-File Format interactive_timeout
Option Sets Variable Yes, interactive_timeout
Variable Name interactive_timeout
Variable Scope Global, Session
Dynamic Variable Yes
Permitted Values
Type numeric
Default 28800
Min Value 1
The number of seconds the server waits for activity on an interactive connection before closing it.
The number of seconds the server waits for activity on a noninteractive connection before closing it.
An interactive client is defined as a client that uses the CLIENT_INTERACTIVE option to mysql_real_connect(). See also wait_timeout.
wait_timeout

On thread startup, the session wait_timeout value is initialized from the global wait_timeout value or from the global interactive_timeout value, depending on the type of client (as defined by the CLIENT_INTERACTIVE connect option to mysql_real_connect()). See also interactive_timeout.