mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-6720 - enable connection log in mysqltest by default
This commit is contained in:
@ -19,6 +19,8 @@ REVOKE ALTER ROUTINE ON db1.* FROM mysqltest_1@localhost;
|
||||
GRANT DELETE ON mysql.* TO mysqltest_1@localhost;
|
||||
REVOKE DELETE ON mysql.* FROM mysqltest_1@localhost;
|
||||
FLUSH PRIVILEGES;
|
||||
connect user_a, localhost, mysqltest_1,,;
|
||||
connection user_a;
|
||||
SELECT CURRENT_USER;
|
||||
CURRENT_USER
|
||||
mysqltest_1@localhost
|
||||
@ -41,6 +43,7 @@ CREATE OR REPLACE USER u1@localhost;
|
||||
ERROR 42000: Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation
|
||||
CREATE OR REPLACE ROLE developer;
|
||||
ERROR 42000: Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation
|
||||
connection default;
|
||||
SELECT CURRENT_USER;
|
||||
CURRENT_USER
|
||||
root@localhost
|
||||
|
Reference in New Issue
Block a user