polardbxengine/mysql-test/suite/x/r/connection_ipv6.result

187 lines
3.8 KiB
Plaintext

Preamble
CREATE USER `user_localhost`@`localhost`;
CREATE USER `user_127_0_0_1`@`127.0.0.1`;
CREATE USER `user_::1`@`::1`;
CREATE USER `user_0:0:0:0:0:0:0:1`@`0:0:0:0:0:0:0:1`;
CREATE USER `user_0::0000:0000:0000:0000:0001`@`0000:0000:0000:0000:0000:0000:0000:0001`;
CREATE USER `user_0:0:0:0:0:FFFF:127.0.0.1`@`0:0:0:0:0:FFFF:127.0.0.1`;
CREATE USER `user_::FFFF:127.0.0.1`@`::FFFF:127.0.0.1`;
#
#
# Server enabled with IPv4, test connectivity from localhosts
#
#
RUN SELECT user()
user()
user_localhost@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
0.0.0.0
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address 0.0.0.0
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
RUN SELECT user()
user()
user_127_0_0_1@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
0.0.0.0
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address 0.0.0.0
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
#
#
# Server enabled with IPv4, test connectivity from mapped localhost-ips
#
#
RUN SELECT user()
user()
user_localhost@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
0.0.0.0
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address 0.0.0.0
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
RUN SELECT user()
user()
user_127_0_0_1@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
0.0.0.0
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address 0.0.0.0
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
# restart: --loose-mysqlx-bind-address=::
#
#
# Server enabled with IPv6 and IPv4, test connectivity from localhosts
#
#
RUN SELECT user()
user()
user_localhost@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
::
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address ::
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
RUN SELECT user()
user()
user_localhost@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
::
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address ::
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
RUN SELECT user()
user()
user_127_0_0_1@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
::
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address ::
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
RUN SELECT user()
user()
user_::1@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
::
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address ::
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
#
#
# Server enabled with IPv6 and IPv4, test connectivity from mapped localhost-ips
#
#
RUN SELECT user()
user()
user_localhost@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
::
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address ::
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
RUN SELECT user()
user()
user_127_0_0_1@localhost
0 rows affected
RUN SELECT @@global.mysqlx_bind_address
@@global.mysqlx_bind_address
::
0 rows affected
RUN SHOW STATUS LIKE 'mysqlx_address'
Variable_name Value
Mysqlx_address ::
0 rows affected
Mysqlx.Ok {
msg: "bye!"
}
DROP USER `user_localhost`@`localhost`;
DROP USER `user_127_0_0_1`@`127.0.0.1`;
DROP USER `user_::1`@`::1`;
DROP USER `user_0:0:0:0:0:0:0:1`@`0:0:0:0:0:0:0:1`;
DROP USER `user_0::0000:0000:0000:0000:0001`@`0000:0000:0000:0000:0000:0000:0000:0001`;
DROP USER `user_0:0:0:0:0:FFFF:127.0.0.1`@`0:0:0:0:0:FFFF:127.0.0.1`;
DROP USER `user_::FFFF:127.0.0.1`@`::FFFF:127.0.0.1`;