在本地启动SpringBoot项目时,尽管确认了MySQL的密码正确,但依然遇到启动错误'Unable to create initial connections of pool'。尝试修改Yml配置文件和检查username/password未果。最终通过在MySQL的my.ini配置文件末尾添加'skip-grant-tables'并重启服务解决了因执行SQL语句出错导致的登录权限问题。
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'(<