【不指定】该--admin-address选项(系统变量),则不会起该管理监听!!!
-
Property Value Command-Line Format --admin-address=addrIntroduced 8.0.14 System Variable admin_addressScope Global Dynamic No SET_VARHint AppliesNo Type String The IP address on which to listen for TCP/IP connections on the administrative network interface (see Section 8.12.4.1, “How MySQL Handles Client Connections”). There is no default
admin_addressvalue. If this variable is not specified at startup, the server maintains no administrative interface. The server also has abind_addresssystem variable for configuring regular (nonadministrative) client TCP/IP connections. See Section 8.12.4.1, “How MySQL Handles Client Connections”.If
admin_addressis specified, its value must satisfy these requirements:-
The value must be a single IPv4 address, IPv6 address, or host name.
-
The value cannot specify a wildcard address format (
*,0.0.0.0, or::).
An IP address can be specified as an IPv4 or IPv6 address. If the value is a host name, the server resolves the name to an IP address and binds to that address. If a host name resolves to multiple IP addresses, the server uses the first IPv4 address if there are any, or the first IPv6 address otherwise.
The server treats different types of addresses as follows:
-
If the address is an IPv4-mapped address, the server accepts TCP/IP connections for that address, in either IPv4 or IPv6 format. For example, if the server is bound to
::ffff:127.0.0.1, clients can connect using--host=127.0.0.1or--host=::ffff:127.0.0.1. -
If the address is a “regular” IPv4 or IPv6 address (such as
127.0.0.1or::1), the server accepts TCP/IP connections only for that IPv4 or IPv6 address.
If binding to the address fails, the server produces an error and does not start.
The
admin_addresssystem variable is similar to thebind_addresssystem variable that binds the server to an address for ordinary client connections, but with these differences:-
bind_addresspermits multiple addresses.admin_addresspermits a single address. -
bind_addresspermits wildcard addresses.admin_addressdoes not.
-
-
Property Value Command-Line Format --admin-port=port_numIntroduced 8.0.14 System Variable admin_portScope Global Dynamic No SET_VARHint AppliesNo Type Integer Default Value 33062Minimum Value 0Maximum Value 65535The TCP/IP port number to use for connections on the administrative network interface (see Section 8.12.4.1, “How MySQL Handles Client Connections”). Setting this variable to 0 causes the default value to be used.
Setting
admin_porthas no effect ifadmin_addressis not specified because in that case the server maintains no administrative network interface.
-
Property Value Command-Line Format --create-admin-listener-thread[={OFF|ON}]Introduced 8.0.14 System Variable create_admin_listener_threadScope Global Dynamic No SET_VARHint AppliesNo Type Boolean Default Value OFFWhether to use a dedicated listening thread for client connections on the administrative network interface (see Section 8.12.4.1, “How MySQL Handles Client Connections”). The default is to implement the administrative interface using the listener thread used for ordinary connections.
Depending on factors such as platform type and workload, you may find one setting for this variable yields better performance than the other setting.
Setting
create_admin_listener_threadhas no effect ifadmin_addressis not specified because in that case the server maintains no administrative network interface.