Server IP : 172.67.216.182 / Your IP : 172.70.189.105 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/server/mysql/src/mysql-test/suite/sys_vars/r/ |
Upload File : |
SET @global_start_value = @@global.secure_auth; SELECT @global_start_value; @global_start_value 1 '#--------------------FN_DYNVARS_143_01------------------------#' SET @@global.secure_auth = DEFAULT; Warnings: Warning 1681 '--secure-auth' is deprecated and will be removed in a future release. SELECT @@global.secure_auth; @@global.secure_auth 1 '#---------------------FN_DYNVARS_143_02-------------------------#' SET secure_auth = 1; ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL SELECT @@secure_auth; @@secure_auth 1 SELECT global.secure_auth; ERROR 42S02: Unknown table 'global' in field list SET global secure_auth = 1; Warnings: Warning 1681 '--secure-auth' is deprecated and will be removed in a future release. SELECT @@global.secure_auth; @@global.secure_auth 1 '#--------------------FN_DYNVARS_143_03------------------------#' SET @@global.secure_auth = 0; ERROR 42000: Variable 'secure_auth' can't be set to the value of '0' SELECT @@global.secure_auth; @@global.secure_auth 1 SET @@global.secure_auth = 1; Warnings: Warning 1681 '--secure-auth' is deprecated and will be removed in a future release. SELECT @@global.secure_auth; @@global.secure_auth 1 '#--------------------FN_DYNVARS_143_04-------------------------#' SET @@global.secure_auth = -1; ERROR 42000: Variable 'secure_auth' can't be set to the value of '-1' SET @@global.secure_auth = 2; ERROR 42000: Variable 'secure_auth' can't be set to the value of '2' SET @@global.secure_auth = "T"; ERROR 42000: Variable 'secure_auth' can't be set to the value of 'T' SET @@global.secure_auth = "Y"; ERROR 42000: Variable 'secure_auth' can't be set to the value of 'Y' SET @@global.secure_auth = YES; ERROR 42000: Variable 'secure_auth' can't be set to the value of 'YES' SET @@global.secure_auth = ONN; ERROR 42000: Variable 'secure_auth' can't be set to the value of 'ONN' SET @@global.secure_auth = OOF; ERROR 42000: Variable 'secure_auth' can't be set to the value of 'OOF' SET @@global.secure_auth = 0FF; ERROR 42000: Variable 'secure_auth' can't be set to the value of '0FF' SET @@global.secure_auth = ' 1'; ERROR 42000: Variable 'secure_auth' can't be set to the value of ' 1' SET @@global.secure_auth = NO; ERROR 42000: Variable 'secure_auth' can't be set to the value of 'NO' '#-------------------FN_DYNVARS_143_05----------------------------#' SET @@session.secure_auth = 1; ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL SET @@secure_auth = 1; ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL SET @@local.secure_auth = 1; ERROR HY000: Variable 'secure_auth' is a GLOBAL variable and should be set with SET GLOBAL SELECT @@session.secure_auth; ERROR HY000: Variable 'secure_auth' is a GLOBAL variable SELECT @@local.secure_auth; ERROR HY000: Variable 'secure_auth' is a GLOBAL variable '#----------------------FN_DYNVARS_143_06------------------------#' SELECT count(VARIABLE_VALUE) FROM INFORMATION_SCHEMA.SESSION_VARIABLES WHERE VARIABLE_NAME='secure_auth'; count(VARIABLE_VALUE) 1 '#----------------------FN_DYNVARS_143_07------------------------#' SELECT IF(@@global.secure_auth, "ON", "OFF") = VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='secure_auth'; IF(@@global.secure_auth, "ON", "OFF") = VARIABLE_VALUE 1 SELECT @@global.secure_auth; @@global.secure_auth 1 SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='secure_auth'; VARIABLE_VALUE ON '#---------------------FN_DYNVARS_143_08-------------------------#' SET @@global.secure_auth = OFF; ERROR 42000: Variable 'secure_auth' can't be set to the value of 'OFF' SELECT @@global.secure_auth; @@global.secure_auth 1 SET @@global.secure_auth = ON; Warnings: Warning 1681 '--secure-auth' is deprecated and will be removed in a future release. SELECT @@global.secure_auth; @@global.secure_auth 1 '#---------------------FN_DYNVARS_143_09----------------------#' SET @@global.secure_auth = TRUE; Warnings: Warning 1681 '--secure-auth' is deprecated and will be removed in a future release. SELECT @@global.secure_auth; @@global.secure_auth 1 SET @@global.secure_auth = FALSE; ERROR 42000: Variable 'secure_auth' can't be set to the value of '0' SELECT @@global.secure_auth; @@global.secure_auth 1 SET @@global.secure_auth = @global_start_value; Warnings: Warning 1681 '--secure-auth' is deprecated and will be removed in a future release. SELECT @@global.secure_auth; @@global.secure_auth 1