| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysql-test/suite/auth_sec/r/ |
Upload File : |
#----------------------------------------------------------------------- # Setup #----------------------------------------------------------------------- # Search for : --secure-file-priv is set to NULL. Operations # related to importing and exporting data are # disabled show variables like 'secure_file_priv'; Variable_name Value secure_file_priv null use test; drop table if exists secure_file_priv_test_null; create table secure_file_priv_test_null(c1 int); insert into secure_file_priv_test_null values (1), (2), (3), (4); select * from secure_file_priv_test_null into outfile 'blah'; ERROR HY000: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement select * from secure_file_priv_test_null into outfile 'null/blah'; ERROR HY000: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement drop table secure_file_priv_test_null; #----------------------------------------------------------------------- # Clean-up #-----------------------------------------------------------------------