1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-16 03:24:47 +03:00
mariadb/mysql-test/suite/funcs_1/include/create_user_no_super.inc
2007-02-06 13:35:54 +01:00

12 lines
341 B
SQL

##### suite/funcs_1/include/create_user_no_super.inc
#
# $new_user must contain the name (with @<host> if necessary)
# of the user to be created
--error 0,1396
eval DROP USER $new_user;
eval CREATE USER $new_user identified by 'PWD';
eval GRANT ALL ON *.* TO $new_user WITH GRANT OPTION;
eval REVOKE SUPER ON *.* FROM $new_user;