Debian Codegraph @

mysql-test/suite/network_namespace/r/x_network_namespace.result

raw
1 # restart: --skip-name-resolve --mysqlx-bind-address=10.0.2.1/red
2 CREATE USER 'x_root' @'10.0.2.1' IDENTIFIED WITH 'mysql_native_password';
3 GRANT ALL ON *.*TO 'x_root' @'10.0.2.1' WITH GRANT OPTION;
4 # Check that X-protocol client can establish connection to the address 10.0.2.1 from the network namespace 'red'
5 RUN SELECT USER()
6 USER()
7 [email protected]
8 0 rows affected
9 Mysqlx.Ok {
10 msg: "bye!"
11 }
12 ok
13 # Non existing namespace
14 Application terminated with expected error: Failed to set active network namespace green (code 2001)
15 ok
16 # Simulate case where cap_sys_nice is not granted to mysqlxtest
17 Application terminated with expected error: Failed to set active network namespace red (code 2001)
18 ok
19 REVOKE ALL ON *.* FROM 'x_root' @'10.0.2.1';
20 DROP USER 'x_root' @'10.0.2.1';
21 # restart