Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql set session timeout

If you use Connector/J, you can use sessionVariables in the client's JDBC URL like so: jdbc:mysql://hostname:3306/schema?sessionVariables=wait_timeout=600

Other connectors for other languages will probably allow the same.
 
PREVIOUS NEXT
Tagged: #mysql #set #session #timeout
ADD COMMENT
Topic
Name
7+9 =