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