SSH运行出错 求各位大神指导

狂奔啦蜗牛 发布于 2013/05/12 16:57
阅读 254
收藏 0
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:770)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3641)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1175)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
at com.mysql.jdbc.Connection.<init>(Connection.java:1474)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:68)


at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:87)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:83)
at com.mchange.v2.resourcepool.BasicResourcePool.assimilateResource(BasicResourcePool.java:884)
at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:601)
at com.mchange.v2.resourcepool.BasicResourcePool.access$400(BasicResourcePool.java:31)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1079)


at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:354)
加载中
0
AlienJun
AlienJun
你确定密码正确?
狂奔啦蜗牛
狂奔啦蜗牛
正确
0
南湖船老大
南湖船老大

Access denied for user 'root'@'localhost' (using password: YES)

密码正确,但是没有相应的权限(比如查询,修改数据库等)

0
softsword
softsword
windows请使用127.0.0.1或者localhost连接数据库,127.0.0.1≠localhost
0
黄正文
黄正文
明显密码错:-[
0
NotFoundException
NotFoundException
264没有注册驱动
0
王瑞平
王瑞平
mysql服务可能没启动
0
唐代de豆腐
唐代de豆腐
是不是使用hibernate 4以上版本的
0
cxshun
cxshun
密码错误啦,建议兄弟要补补英语。
0
skyline520
skyline520
密码不对吧
0
DW_GYT
DW_GYT
明显是数据库连接不对,请检查一下数据库连接配置
返回顶部
顶部