Debian Codegraph @

mysql-test/suite/sys_vars/r/port_basic.result

raw
1 select @@global.port;
2 @@global.port
3 MASTER_MYPORT
4 select @@session.port;
5 ERROR HY000: Variable 'port' is a GLOBAL variable
6 show global variables like 'port';
7 Variable_name Value
8 port MASTER_MYPORT
9 show session variables like 'port';
10 Variable_name Value
11 port MASTER_MYPORT
12 select * from performance_schema.global_variables where variable_name='port';
13 VARIABLE_NAME VARIABLE_VALUE
14 port MASTER_MYPORT
15 select * from performance_schema.session_variables where variable_name='port';
16 VARIABLE_NAME VARIABLE_VALUE
17 port MASTER_MYPORT
18 set global port=1;
19 ERROR HY000: Variable 'port' is a read only variable
20 set session port=1;
21 ERROR HY000: Variable 'port' is a read only variable