linux系统连接mysql是出现Access denied for user 'root'@'localhost' (using password: YES)
解决:
1.查看my.cnf的位置在哪里
whereis my.cnf
2. 在[mysqld]后添加skip-grant-tables
linux系统连接mysql是出现Access denied for user 'root'@'localhost' (using password: YES)
解决:
1.查看my.cnf的位置在哪里
whereis my.cnf
2. 在[mysqld]后添加skip-grant-tables