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

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

posted @ 2016-06-21 15:27  剑芒  阅读(2806)  评论(0编辑  收藏  举报