mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
b138f428ea
Make message of error not warning.
18 lines
774 B
Text
18 lines
774 B
Text
create table global_priv_backup select * from mysql.global_priv;
|
|
update mysql.global_priv set priv=json_insert(priv, '$.plugin', 'unix_socket');
|
|
delete from mysql.global_priv where user != 'root';
|
|
flush privileges;
|
|
connect(localhost,USER,,test,MASTER_PORT,MASTER_SOCKET);
|
|
ERROR 28000: Access denied for user 'USER'@'localhost'
|
|
ERROR 28000: Access denied for user 'USER'@'localhost'
|
|
replace mysql.global_priv select * from global_priv_backup;
|
|
flush privileges;
|
|
drop table global_priv_backup;
|
|
#
|
|
# MDEV-18151: Skipped error returning for GRANT/SET PASSWORD
|
|
#
|
|
CREATE USER foo;
|
|
GRANT EXECUTE ON * TO foo IDENTIFIED WITH unix_socket AS PASSWORD('bar');
|
|
ERROR HY000: SET PASSWORD is not applicable for users authenticating via unix_socket plugin
|
|
DROP USER foo;
|
|
# End of 10.5 tests
|