Cannot create PoolableConnectionFactory Access denied for user 'root'@'localhost'

Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES)) 今天有项目中遇到这个问题,在Google中搜索了一翻,原来是当前连接数据库的用户权限问题。新建一个用户,并赋予相应的数据操作权限,问题解决了。
原文地址:https://www.cnblogs.com/ljian/p/2221949.html