mysql && eclipse 出现:Access denied for user 'root'@'localhost'

mysql中使用 mysql -uroot -p123456  即可登入,这在前面已经提过,就不再赘述,如有疑问,请移步:

https://blog.csdn.net/hst_gogogo/article/details/80457189

如果想解决这个问题,请移步:https://blog.csdn.net/hgq_csdn/article/details/53728451


原因:eclipse中数据库配置文件的密码写错 ,另:这两个文件应放在src目录下。


修改过后保存,之后重启成功。

如果你的不是密码错误的问题,可以看下这位网友的文章:https://blog.csdn.net/LIUHUA121/article/details/78834912


猜你喜欢

转载自blog.csdn.net/hst_gogogo/article/details/80463349