1
0
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:
peter@mysql.com
2002-12-05 14:01:15 +03:00
parent 3ee8bee22f
commit dac10a8c81
4 changed files with 101 additions and 2 deletions

View 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