MySQL - set variables - установка переменных

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск


Пример задания переменной mysql через SET:

mysql(root)> set connect_timeout=1000;
ERROR 1229 (HY000): Variable 'connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL
mysql(root)> set global connect_timeout=1000;
Индекс цитирования