![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
scluis
越枯燥越有趣
展开
-
MySQL密码正确但是启动报错Unable to create initial connections of pool.Access denied for user ‘root‘@‘localhost
问题最近导入了一个SpringBoot项目,在本地配置好之后,项目启动一直报错:2020-12-17 15:46:42.136 ERROR 19320 — [restartedMain] o.a.tomcat.jdbc.pool.ConnectionPool : Unable to create initial connections of pool.java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using原创 2020-12-17 16:58:18 · 1196 阅读 · 0 评论 -
MySQL修改密码不成功(无效)的解决办法
前言最近打包了一个Windows桌面程序,用到了本地的MySQL数据库,因为代码里的用户密码是123456,和我这里root用户的密码不一样,代码已经打包了,修改代码还要重新打包,于是我就想把本地root用户的密码改成和代码里一样,这里,我是知道当前root用户密码的,想要给他换一个密码试过的没成功的方法mysqladmin命令格式如下(其中,USER为用户名,PASSWORD为新密码):mysqladmin -u USER -p password PASSWORD1该命令之后会提示输入原原创 2020-12-11 15:52:09 · 3275 阅读 · 0 评论