| 1 |
# restart: --skip-name-resolve --bind-address=::1/red,::ffff:10.0.1.1/blue |
| 2 |
CREATE USER root@'::1'; |
| 3 |
CREATE USER root@'10.0.1.1'; |
| 4 |
# Check that client can establish connection to the address ::1 from the network namespace 'red' |
| 5 |
USER() |
| 6 |
root@::1 |
| 7 |
# Check that client can establish connection to the address ::ffff:10.0.1.1 from the network namespace 'blue' |
| 8 |
USER() |
| 9 |
[email protected] |
| 10 |
# Use network namespaces with an IPv6 admin address and admin port |
| 11 |
# restart: --skip-name-resolve --admin-address=::1/red --admin-port=ADMIN_PORT |
| 12 |
GRANT SERVICE_CONNECTION_ADMIN ON *.* TO root@'::1'; |
| 13 |
GRANT SERVICE_CONNECTION_ADMIN ON *.* TO root@'10.0.1.1'; |
| 14 |
USER() |
| 15 |
root@::1 |
| 16 |
# restart: --skip-name-resolve --admin-address=::ffff:10.0.1.1/blue --admin-port=ADMIN_PORT --create-admin-listener-thread=true |
| 17 |
USER() |
| 18 |
[email protected] |
| 19 |
# restart: --skip-name-resolve --admin-address=::1/red --admin-port=ADMIN_PORT --create-admin-listener-thread=true |
| 20 |
USER() |
| 21 |
root@::1 |
| 22 |
REVOKE SERVICE_CONNECTION_ADMIN ON *.* FROM root@'::1'; |
| 23 |
REVOKE SERVICE_CONNECTION_ADMIN ON *.* FROM root@'10.0.1.1'; |
| 24 |
# restart: |
| 25 |
DROP USER root@'::1'; |
| 26 |
DROP USER root@'10.0.1.1'; |