Wednesday, June 2, 2021

set wait_timeout in mariadb

 [root@database-rhel79 my.cnf.d]# mysql -u root

Welcome to the MariaDB monitor.  Commands end with ; or \g.

Your MariaDB connection id is 9

Server version: 10.4.18-MariaDB MariaDB Server


Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.



MariaDB [(none)]> set global wait_timeout=2592000;

Query OK, 0 rows affected (0.001 sec)


MariaDB [(none)]> set wait_timeout=2592000;

Query OK, 0 rows affected (0.001 sec)


No comments:

Post a Comment