config root man

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

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/t/secure_file_priv_basic.test

--source include/not_var_link.inc

#
# only global
#
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
select @@global.secure_file_priv;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.secure_file_priv;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
show global variables like 'secure_file_priv';
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
show session variables like 'secure_file_priv';
--disable_warnings
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
select * from information_schema.global_variables where variable_name='secure_file_priv';
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
select * from information_schema.session_variables where variable_name='secure_file_priv';
--enable_warnings

#
# show that it's read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global secure_file_priv=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session secure_file_priv=1;

Man Man