2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
set global max_connections=151;
10
show variables like 'init_slave';
12
init_slave set global max_connections=500
13
show variables like 'max_connections';
17
show variables like 'init_slave';
20
show variables like 'max_connections';
23
set @my_global_init_connect= @@global.init_connect;
24
set global init_connect="set @c=1";
25
show variables like 'init_connect';
29
set global init_connect= @my_global_init_connect;
30
set global max_connections= default;