Loading mysql-test/r/user_limits.result +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ connect(localhost,mysqltest_1,,test,MYSQL_PORT,MYSQL_SOCK); ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2) select * from t1; i connect(localhost,mysqltest_1,,test,9306,/home/dlenev/src/mysql-5.0-1339/mysql-test/var/tmp/master.sock); connect(localhost,mysqltest_1,,test,MYSQL_PORT,MYSQL_SOCK); ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2) drop user mysqltest_1@localhost; flush privileges; Loading mysql-test/t/user_limits.test +1 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ select * from t1; # counters are not thrown away if there are no connections for this user. disconnect mcph1; disconnect mcph2; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK --error 1226 connect (mcph3, localhost, mysqltest_1,,); # Cleanup Loading Loading
mysql-test/r/user_limits.result +1 −1 Original line number Diff line number Diff line Loading @@ -42,7 +42,7 @@ connect(localhost,mysqltest_1,,test,MYSQL_PORT,MYSQL_SOCK); ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2) select * from t1; i connect(localhost,mysqltest_1,,test,9306,/home/dlenev/src/mysql-5.0-1339/mysql-test/var/tmp/master.sock); connect(localhost,mysqltest_1,,test,MYSQL_PORT,MYSQL_SOCK); ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2) drop user mysqltest_1@localhost; flush privileges; Loading
mysql-test/t/user_limits.test +1 −0 Original line number Diff line number Diff line Loading @@ -72,6 +72,7 @@ select * from t1; # counters are not thrown away if there are no connections for this user. disconnect mcph1; disconnect mcph2; --replace_result $MASTER_MYPORT MYSQL_PORT $MASTER_MYSOCK MYSQL_SOCK --error 1226 connect (mcph3, localhost, mysqltest_1,,); # Cleanup Loading