ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password
Authentication to host ' ' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@' ' (using password: YES)
新电脑上,连接数据库连接不上,


打开mysql配置文件
在mysqld下面添加skip-grant-tables,保存重启mysql。

新电脑连接MySQL数据库失败,出现访问被拒的错误提示。解决办法是打开mysql配置文件,在mysqld下面添加skip - grant - tables,保存后重启mysql。
43万+

被折叠的 条评论
为什么被折叠?



