首页 > 解决方案 > mysql bind-address vs mysqlx-bind-address 设置以允许远程连接

问题描述

我在 mysql 8.0 配置文件 (mysqlx-bind-address) 中找到了一个新的设置变量

我应该将其设置为: 0.0.0.0 并带有绑定地址以允许远程连接吗?

例子:

# 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

标签: mysql

解决方案


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


推荐阅读