腾讯云宝塔安装的mysql 无法链接的问题

1、修改支持root用户允许远程连接mysql数据库

一、给与root权限;
 grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;

刷新权限配置
flush privileges;

二、查看系统用户

原文地址:https://www.cnblogs.com/water-1/p/15716211.html