mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix minor bug and add test of connection with new/old/without passwords
This commit is contained in:
34
mysql-test/r/connect.result
Normal file
34
mysql-test/r/connect.result
Normal file
@ -0,0 +1,34 @@
|
||||
show tables;
|
||||
Tables_in_mysql
|
||||
columns_priv
|
||||
db
|
||||
func
|
||||
host
|
||||
tables_priv
|
||||
user
|
||||
show tables;
|
||||
Tables_in_test
|
||||
grant ALL on *.* to test@localhost identified by "gambling";
|
||||
grant ALL on *.* to test@127.0.0.1 identified by "gambling";
|
||||
show tables;
|
||||
Tables_in_mysql
|
||||
columns_priv
|
||||
db
|
||||
func
|
||||
host
|
||||
tables_priv
|
||||
user
|
||||
show tables;
|
||||
Tables_in_test
|
||||
update mysql.user set password=old_password("gambling2") where user="test";
|
||||
flush privileges;
|
||||
show tables;
|
||||
Tables_in_mysql
|
||||
columns_priv
|
||||
db
|
||||
func
|
||||
host
|
||||
tables_priv
|
||||
user
|
||||
show tables;
|
||||
Tables_in_test
|
Reference in New Issue
Block a user