config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/socket_basic.result

select @@global.socket;
@@global.socket
MYSQL_TMP_DIR/mysqld.1.sock
select @@session.socket;
ERROR HY000: Variable 'socket' is a GLOBAL variable
show global variables like 'socket';
Variable_name	Value
socket	MYSQL_TMP_DIR/mysqld.1.sock
show session variables like 'socket';
Variable_name	Value
socket	MYSQL_TMP_DIR/mysqld.1.sock
select * from information_schema.global_variables where variable_name='socket';
VARIABLE_NAME	VARIABLE_VALUE
SOCKET	MYSQL_TMP_DIR/mysqld.1.sock
select * from information_schema.session_variables where variable_name='socket';
VARIABLE_NAME	VARIABLE_VALUE
SOCKET	MYSQL_TMP_DIR/mysqld.1.sock
set global socket=1;
ERROR HY000: Variable 'socket' is a read only variable
set session socket=1;
ERROR HY000: Variable 'socket' is a read only variable

Man Man