Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection
时间: 2023-10-15 13:22:31 浏览: 155
Hibernate 3.3 3.4.X 实体 新功能
"Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection" 表示在查询数据库时出现了错误,具体错误是无法获取JDBC连接。这个错误通常是由于数据库连接配置错误或者数据库连接被拒绝导致的。可能的原因是数据库用户名或密码错误,或者数据库服务器无法连接。要解决这个问题,你可以检查数据库连接配置,确保用户名和密码正确,并确认数据库服务器正常运行并可以访问。如果问题仍然存在,你可以尝试重新配置数据库连接或者联系数据库管理员以获取更多帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException:](https://blog.csdn.net/weixin_47056195/article/details/114829862)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException报错](https://blog.csdn.net/weixin_45030023/article/details/108914286)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文