mariadbHow to change wait_timeout in Mariadb?
The wait_timeout
variable in MariaDB can be changed by setting the wait_timeout
variable in the my.cnf
configuration file.
Example code
[mysqld]
wait_timeout=60
This will set the wait_timeout
variable to 60 seconds.
Code explanation
[mysqld]
- This is the section of the configuration file where thewait_timeout
variable should be set.wait_timeout=60
- This is the line that sets thewait_timeout
variable to 60 seconds.
Helpful links
More of Mariadb
- How to get yesterday's date in Mariadb?
- How to get current year in Mariadb?
- What type to use for a year in Mariadb?
- How to work with XML in Mariadb?
- How to use variables in Mariadb?
- How to use the WITH clause in Mariadb?
- How to list available engines in Mariadb?
- How to view Mariadb error log?
- How to use XA transactions in Mariadb?
- How to check version of Mariadb?
See more codes...