腾讯云轻量服务器,安装部署mysql后,本地Navicat不能远程链接
修改mysql的配置文件
vim /etc/mysql/mysql.conf.d/mysqld.cnf
上述命令执行完毕后,重启mysql服务
登录msql后执行命令
grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option;
flush privileges;
另外再开放服务器端口 和 控制台的安全组