【发布时间】:2015-03-10 03:38:44
【问题描述】:
尝试 ping JDBC 连接池时出现 Ping 连接池失败的错误:
Connection could not be allocated because: Connection authentication failure occurred. Reason: Userid or password invalid. Userid and password are both set to APP.
【问题讨论】:
-
您似乎粘贴了一条错误消息,但实际上并未就此提出问题。如果您不告诉我们您需要什么帮助,我们将无法帮助您。顺便说一句,错误消息似乎非常具有描述性,您可能应该阅读它 - 您正在寻找的答案可能就在那里!
-
为什么APP的用户名和密码无效?我按照 Deitel 和 Deitel How to Program Edition 9 第 30 章中的说明设置池。他们说将用户名和密码定义为 APP。
标签: java jdbc database-connection