mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
4abb8216a0
Implement User_table_json. Fix scripts to use mysql.global_priv. Fix tests.
17 lines
1.2 KiB
Text
17 lines
1.2 KiB
Text
create user foo identified via mysql_old_password;
|
|
create user bar identified via mysql_old_password;
|
|
create user baz identified via mysql_old_password;
|
|
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
|
|
connect fail,localhost,u1;
|
|
ERROR 28000: Access denied for user 'u1'@'localhost' (using password: NO)
|
|
connect(localhost,u2,,test,MASTER_PORT,MASTER_SOCKET);
|
|
connect fail,localhost,u2;
|
|
ERROR HY000: Server is running in --secure-auth mode, but 'u2'@'localhost' has a password in the old format; please change the password to the new format
|
|
connect(localhost,u2,password,test,MASTER_PORT,MASTER_SOCKET);
|
|
connect fail,localhost,u2,password;
|
|
ERROR HY000: Server is running in --secure-auth mode, but 'u2'@'localhost' has a password in the old format; please change the password to the new format
|
|
ERROR 28000: Access denied for user 'u1'@'localhost' (using password: NO)
|
|
ERROR HY000: Server is running in --secure-auth mode, but 'u2'@'localhost' has a password in the old format; please change the password to the new format
|
|
ERROR HY000: Server is running in --secure-auth mode, but 'u2'@'localhost' has a password in the old format; please change the password to the new format
|
|
delete from mysql.user where plugin = 'mysql_old_password';
|
|
flush privileges;
|