Debian Codegraph @

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

raw
1 RUN SELECT CONNECTION_TYPE from performance_schema.threads where processlist_command='Query';
2 CONNECTION_TYPE
3 Socket
4 0 rows affected
5 Mysqlx.Ok {
6 msg: "bye!"
7 }
8 ok
9 SET GLOBAL mysqlx_socket=null;
10 ERROR HY000: Variable 'mysqlx_socket' is a read only variable
11 SET @@global.mysqlx_socket='invalid';
12 ERROR HY000: Variable 'mysqlx_socket' is a read only variable
13 SET GLOBAL mysqlx_socket=$MYSQL_TMP_DIR/socket_mysqlx.sock;
14 ERROR HY000: Variable 'mysqlx_socket' is a read only variable
15 call mtr.add_suppression("Plugin mysqlx reported: .Setup of socket: '' failed, the socket file path is empty");
16 # restart: --loose-mysqlx-socket=
17 Application terminated with expected error: No such file or directory, while connecting to SOCKET (code 2002)
18 ok
19 call mtr.add_suppression("Plugin mysqlx reported: .Setup of socket: '\(.+\)' failed, can't create lock file /dev/null/mysqlx\.sock\.lock");
20 # restart: --loose-mysqlx-socket=/dev/null/mysqlx.sock
21 Application terminated with expected error: No such file or directory, while connecting to SOCKET (code 2002)
22 ok
23 Application terminated with expected error: Not a directory, while connecting to SOCKET (code 2002)
24 ok
25 call mtr.add_suppression("Plugin mysqlx reported: 'X Plugins UNIX socket must use different file than MySQL server. X Plugin won't be accessible through UNIX socket");
26 # restart: --loose-mysqlx-socket= SOCKET
27 # restart: --loose-mysqlx-socket= SOCKET
28 RUN SELECT CONNECTION_TYPE from performance_schema.threads where processlist_command='Query';
29 CONNECTION_TYPE
30 Socket
31 0 rows affected
32 Mysqlx.Ok {
33 msg: "bye!"
34 }
35 ok
36 call mtr.add_suppression("Plugin mysqlx reported: .Setup of socket: '\(.+\)' failed, .bind... on UNIX socket failed with error");
37 # restart: --loose-mysqlx-socket= SOCKET
38 Application terminated with expected error: Connection refused, while connecting to SOCKET (code 2002)
39 ok
40 call mtr.add_suppression("Plugin mysqlx reported: .Setup of socket: '\(.+\)' failed, can't create lock file .+\.lock");
41 # restart: --loose-mysqlx-socket= SOCKET
42 Application terminated with expected error: Permission denied, while connecting to SOCKET (code 2002)
43 ok
44 call mtr.add_suppression("Plugin mysqlx reported: .Setup of socket: '\(.+\)' failed, can't create lock file .*ne/x.sock.lock");
45 # restart: --loose-mysqlx-socket= SOCKET
46 Application terminated with expected error: No such file or directory, while connecting to SOCKET (code 2002)
47 ok
48 call mtr.add_suppression("Plugin mysqlx reported: .Setup of socket: '\(.+\)' failed, the socket file path is too long");
49 # restart: --loose-mysqlx-socket= SOCKET
50 Application terminated with expected error: UNIX Socket file name too long, size should be less or equal LENGTH (code 2005)
51 ok
52 # restart: