想用navicat连接mysql报错1045需要将root用户授权给所有连接: grant all privileges on . to 'root'@'%' identified by 'xxxxxx';xxxxxx是mysql用户密码让权限立即生效:flush privileges; 最后修改:2020 年 11 月 19 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 0 如果觉得我的文章对你有用,请随意赞赏