简体   繁体   English

mysql bind-address 与 mysqlx-bind-address 设置以允许远程连接

[英]mysql bind-address vs mysqlx-bind-address setting to allow remote connection

I've found a new setting variable in the mysql 8.0 config file (mysqlx-bind-address)我在 mysql 8.0 配置文件 (mysqlx-bind-address) 中发现了一个新的设置变量

Should i set it to: 0.0.0.0 with the bind address to allow remote connection?我应该将它设置为: 0.0.0.0 使用绑定地址以允许远程连接吗?

Example:例子:

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address            = 0.0.0.0
mysqlx-bind-address     = 0.0.0.0

设置bind-adress就足够了mysqlx-bind-address用于X plugin如果你想了解更多关于X plugin你可以去这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM