Server IP : 104.21.38.3 / Your IP : 162.158.107.52 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/t/ |
Upload File : |
############ mysql-test\t\check_proxy_users_func.test########################### # # #Variable Name: check_proxy_users # #Scope: SESSION # #Access Type: Dynamic # #Data Type: BOOLEAN # #Default Value: OFF # #Values: ON, OFF # # # # # #Creation Date: 2015-01-20 # #Author: Todd Farmer # # # #Description: Test Cases of Dynamic System Variable "check_proxy_users" # # that checks behavior of this variable in the following ways # # * Functionality based on different values # # # #Reference: http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html# # option_mysqld_check_proxy_users # # # ################################################################################ --echo ** Setup ** --echo # # Setup # --source include/not_embedded.inc SET @default_check_proxy_users = @@check_proxy_users; --echo '#----- 1.2.4 superuser set variable -------------------------#' ################################### # Setting Read only value ON # ################################### SET Global check_proxy_users=OFF; --echo '#----- 1.2.4 others user set variable -----------------------#' ########################################## # Creating user without Super privilege # ########################################## --echo ** Creating new user with out super privilege** CREATE USER sameea; --echo ** Connecting connn using username 'sameea' ** CONNECT (connn,localhost,sameea,,); --Error ER_SPECIFIC_ACCESS_DENIED_ERROR SET GLOBAL check_proxy_users=ON; --Error ER_SPECIFIC_ACCESS_DENIED_ERROR SET @@global.check_proxy_users=ON; # # Cleanup # --echo ** Connection default ** connection default; --echo ** Disconnecting connn ** DISCONNECT connn; DROP USER sameea; SET global check_proxy_users = @default_check_proxy_users; --disable_info --enable_warnings