1、在mysql的配置文件中设置 bind-address=0.0.0.0
2、在database mysql中设置root用户的host为 %
安装deb后使用 apt-cache policy mysql-server 查看是否有安装包,然后apt install mysql-client=5.7* mysql-community-server=5.7* mysql-server=5.7*
标签:ubuntu20.04,登录,5.7,0.0,mysql5.7,apt,server,mysql From: https://www.cnblogs.com/dengsheng/p/16968538.html