navicat远程连接报 access denied for user'root'@'your mysql server ip'(using pasword:yes" 错误

第一步:登录远程服务器,进入mysql (mysql -u username -p password)

第二步:执行 GRANT ALL PRIVILEGES ON *.* TO'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;

如下图所示:

 

然后就可以利用navicat访问远程mysql服务器了!

原文地址:https://www.cnblogs.com/whitelist/p/5586485.html