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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
#
# WL#11652 -- Support multiple addresses for the --bind-address command option
#
# restart: --bind-address=127.0.0.1,::1
#
# Server is started with --bind-address=127.0.0.1,::1
# Check that server accepts incoming connection both
# on the address 127.0.0.1 and on the address ::1
#
# Connecting to a server via 127.0.0.1
# Connecting to a server via ::1
SELECT @@global.bind_address;
@@global.bind_address
127.0.0.1,::1
# Stop DB server which was created by MTR default
# Check that not existing IP address as a value of
# the option --bind-address is treated as an error.
Pattern "MY-010262.*Bind on TCP/IP port:.*" found
# Check that not existing IP address as one of a value of
# the option --bind-address is treated as an error.
Pattern "MY-010262.*Bind on TCP/IP port:.*" found
#
# Starting mysqld in the regular mode...
#
# restart: --bind-address=127.0.0.1
SELECT @@global.bind_address;
@@global.bind_address
127.0.0.1
# Stop DB server which was created by MTR default
#
# Starting mysqld in the regular mode...
#
# restart: --bind-address=*
SELECT @@global.bind_address;
@@global.bind_address
*
# Stop DB server which was created by MTR default
#
# Starting mysqld in the regular mode...
#
# restart: --bind-address=::
SELECT @@global.bind_address;
@@global.bind_address
::
# Stop DB server which was created by MTR default
# Check separators not being ','.
# Check that specially treated value :: is not allowed as part of
# multi-value option bind-address.
Pattern "Invalid value for command line option bind-addresses:" found
# Check that specially treated value * is not allowed as part of
# multi-value option bind-address.
Pattern "Invalid value for command line option bind-addresses:" found
# Check that server catches a parsing error during processing of
# multi-value option bind-address.
# Two adjacent commas in a value of the option --bind-address is treated
# as an error.
Pattern "Invalid value for command line option bind-addresses:" found
# Check that a server catches a parsing error during processing of
# multi-value option bind-address.
# Comma in the end of a value of the option --bind-address is treated
# as an error.
Pattern "Invalid value for command line option bind-addresses:" found
# Check that a server catches a parsing error during processing of
# multi-value option bind-address.
# Comma in the begining of a value of the option --bind-address
# is treated as an error.
Pattern "Invalid value for command line option bind-addresses:" found
# Check that a server catches a parsing error during processing of
# multi-value option bind-address.
# empty value of the option --bind-address
# is treated as an error.
Pattern "Invalid value for command line option bind-addresses:" found
# Check that a server catches a parsing error during processing of
# multi-value option bind-address.
# Check that specially treated ipv4 address 0.0.0.0 is not allowed
# as part of multi-value option bind-address.
Pattern "Invalid value for command line option bind-addresses:" found
# Check that a server catches a parsing error during processing of
# multi-value option bind-address.
# empty value of the option --bind-address
# is treated as an error.
Pattern "Invalid value for command line option bind-addresses:" found
#
# Starting mysqld in the regular mode...
#
# restart
|