1045 Access denied for user ‘root‘@‘localhost‘ (using password: YES)
MySQL 连接错误,使用Navicat连接MySQL出现错误:1045 Access denied for user ‘root’@‘localhost’ (using password: YES)解决方法:编辑mysql配置文件my.ini(在mysql的安装目录下,不同电脑可能不一样,参考目录①D:\Program Files\MySQL\MySQL Server 5.0\my.ini;②C:\ProgramData\MySQL\MySQL Server 8.0\my.ini;),在[my