mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
copy from test-extra-5.1 to main tree
This commit is contained in:
10
mysql-test/suite/funcs_1/include/create_user_lowest_priv.inc
Normal file
10
mysql-test/suite/funcs_1/include/create_user_lowest_priv.inc
Normal file
@ -0,0 +1,10 @@
|
||||
##### suite/funcs_1/include/create_user_no_priv.inc
|
||||
#
|
||||
# $new_user must contain the name (with @<host> if necessary)
|
||||
#
|
||||
|
||||
--error 0,1396
|
||||
eval DROP USER $new_user;
|
||||
eval CREATE USER $new_user identified by 'PWD';
|
||||
# Just to be sure
|
||||
eval REVOKE ALL PRIVILEGES, GRANT OPTION FROM $new_user;
|
Reference in New Issue
Block a user