| 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/t/ |
Upload File : |
# Don't test with embedded server -- source include/not_embedded.inc # Test of grants when lower_case_table_names is on use mysql; # mixed-case database name for testing create database MYSQLtest; # check that database name gets forced to lowercase grant all on MySQLtest.* to mysqltest_1@localhost; show grants for mysqltest_1@localhost; # now force it to mixed case, but see that it is lowercased in the acl cache select * from db where user = 'mysqltest_1'; update db set db = 'MYSQLtest' where db = 'mysqltest' and user = 'mysqltest_1' and host = 'localhost'; flush privileges; show grants for mysqltest_1@localhost; select * from db where user = 'mysqltest_1'; # clear out the user we created # # can't use REVOKE because of the mixed-case database name delete from db where db = 'MYSQLtest' and user = 'mysqltest_1' and host = 'localhost'; flush privileges; drop user mysqltest_1@localhost; drop database MYSQLtest; # End of 4.1 tests