-
Notifications
You must be signed in to change notification settings - Fork 4k
/
Copy pathconnection_skip_networking.result
25 lines (25 loc) · 1.14 KB
/
connection_skip_networking.result
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
create user nonblank@localhost identified by 'nonblank';
Test starts here
# Verify that UNIX socket connection still works
RUN select user(),current_user(),@@bind_address
user() current_user() @@bind_address
x_root@localhost x_root@localhost *
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
ok
# Verify that TCP is disabled
Application terminated with expected ERROR: Connection refused connecting to localhost:PORT (code 2002)
ok
# Try login using mysqlx protocol when server started with skip-networking options and mysqlx loaded with non super user
Application terminated with expected ERROR: Connection refused connecting to localhost:PORT (code 2002)
ok
call mtr.add_suppression("Plugin mysqlx reported: .Preparation of I/O interfaces failed, X Protocol won't be accessible");
call mtr.add_suppression("Plugin mysqlx reported: .X Plugin failed to setup .+ .., with:");
call mtr.add_suppression("Plugin mysqlx reported: .+ path is empt");
call mtr.add_suppression("Plugin mysqlx reported: .+ is set to empty text");
# restart: --skip-networking --loose-mysqlx-socket=
# Verify that TCP is disabled
# Verify that UNIX socket is disabled
drop user nonblank@localhost;