Debian Codegraph @

mysql-test/suite/x/r/client_session.result

raw
1 call mtr.add_suppression("Plugin mysqlx reported: .*Could not open internal MySQL session.");
2 call mtr.add_suppression("Plugin mysqlx reported: ..: Error initializing session for connection: Too many connections");
3 call mtr.add_suppression("Plugin mysqlx reported: .Kill client: 1040 Too many connections.");
4 SET GLOBAL MAX_CONNECTIONS=3;
5 SET GLOBAL MYSQLX_MAX_CONNECTIONS=30;
6 CREATE USER xuser@localhost IDENTIFIED BY 'xuser_pwd';
7 SHOW GRANTS FOR xuser@localhost;
8 Grants for xuser@localhost
9 GRANT USAGE ON *.* TO `xuser`@`localhost`
10 connecting...
11 active session is now 'second_session'
12 connecting...
13 active session is now 'thrid_session'
14 connecting...
15 Got expected error (one of: 1040 2006 2007 )
16 connecting...
17 Got expected error (one of: 1040 2006 2007 )
18 connecting...
19 Got expected error (one of: 1040 2006 2007 )
20 closing session thrid_session
21 Mysqlx.Ok {
22 msg: "bye!"
23 }
24 ok
25 SET @@GLOBAL.MAX_CONNECTIONS= DEFAULT;
26 SET @@GLOBAL.MYSQLX_MAX_CONNECTIONS= DEFAULT;
27 DROP USER xuser@localhost;