1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

5.3 merge

This commit is contained in:
Sergei Golubchik
2013-05-21 09:43:34 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ create table t1 as select * from mysql.user;
truncate table mysql.user; truncate table mysql.user;
flush privileges; flush privileges;
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET); connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
ERROR 28000: Access denied for user 'u1'@'localhost' (using password: NO) Got one of the listed errors
insert mysql.user select * from t1; insert mysql.user select * from t1;
drop table t1; drop table t1;
flush privileges; flush privileges;

View File

@@ -8,8 +8,10 @@ create table t1 as select * from mysql.user;
truncate table mysql.user; truncate table mysql.user;
flush privileges; flush privileges;
# connecting via unix socket gives ER_ACCESS_DENIED_ERROR
# connecting via tcp/ip gives ER_HOST_NOT_PRIVILEGED
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT --replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
--error ER_ACCESS_DENIED_ERROR --error ER_ACCESS_DENIED_ERROR,ER_HOST_NOT_PRIVILEGED
connect (fail,localhost,u1); connect (fail,localhost,u1);
insert mysql.user select * from t1; insert mysql.user select * from t1;