MySQL8 root用户远程访问配置 Allow root user remote access.

发布于 作者 量尺寸留下评论

首先配置MySQL 8 使其能允许任意IP访问,以下操作均是在需要管理员权限 sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf 将 bind-address 设置为 0.0.0.0 bind-address = 0.0.0.0 重新启动mysql服务 systemctl restart mysql 这时我们需要设置ro… 继续阅读 MySQL8 root用户远程访问配置 Allow root user remote access.