Skip to content

Commit 3c309f5

Browse files
author
Dmitry Shulga
committed
Follow-up for WL#11652 Support multiple addresses for the --bind-address command option
This patch updates description of the command line option --bind-address to reflect changes in its value format
1 parent 0bf6ea1 commit 3c309f5

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

mysql-test/r/mysqld--help-notwin.result

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ The following options may be given as the first argument:
4444
resolved relative to this
4545
--big-tables Allow big result sets by saving all temporary sets on
4646
file (Solves most 'table full' errors)
47-
--bind-address=name IP address to bind to.
47+
--bind-address=name IP address(es) to bind to. Syntax: address[,address]...,
48+
where address can be an IPv4 address, IPv6 address, host
49+
name or one of the wildcard values *, ::, 0.0.0.0. In
50+
case more than one address is specified in a
51+
comma-separated list, wildcard values are not allowed.
4852
--binlog-cache-size=#
4953
The size of the transactional cache for updates to
5054
transactional engines for the binary log. If you often

mysql-test/r/mysqld--help-win.result

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ The following options may be given as the first argument:
4444
resolved relative to this
4545
--big-tables Allow big result sets by saving all temporary sets on
4646
file (Solves most 'table full' errors)
47-
--bind-address=name IP address to bind to.
47+
--bind-address=name IP address(es) to bind to. Syntax: address[,address]...,
48+
where address can be an IPv4 address, IPv6 address, host
49+
name or one of the wildcard values *, ::, 0.0.0.0. In
50+
case more than one address is specified in a
51+
comma-separated list, wildcard values are not allowed.
4852
--binlog-cache-size=#
4953
The size of the transactional cache for updates to
5054
transactional engines for the binary log. If you often

sql/sys_vars.cc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,12 @@ static Sys_var_uint Sys_default_password_lifetime(
749749
&Plock_default_password_lifetime);
750750

751751
static Sys_var_charptr Sys_my_bind_addr(
752-
"bind_address", "IP address to bind to.",
752+
"bind_address",
753+
"IP address(es) to bind to. Syntax: address[,address]...,"
754+
" where address can be an IPv4 address, IPv6 address,"
755+
" host name or one of the wildcard values *, ::, 0.0.0.0."
756+
" In case more than one address is specified in a"
757+
" comma-separated list, wildcard values are not allowed.",
753758
READ_ONLY NON_PERSIST GLOBAL_VAR(my_bind_addr_str), CMD_LINE(REQUIRED_ARG),
754759
IN_FS_CHARSET, DEFAULT(MY_BIND_ALL_ADDRESSES));
755760

0 commit comments

Comments
 (0)