问答详情
源自:3-6 dao层开发

数据库连接有问题是什么原因啊

Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!


提问者:justgoingon 2018-10-24 23:57

个回答

  • justgoingon
    2018-10-25 09:47:11

    已经解决了,是数据库的url弄错了

  • justgoingon
    2018-10-25 09:30:08

    数据库用的是MySQL,客户端用的是navicat,

    它报出这个错误Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!

  • qq_迷途小书童_3
    2018-10-25 03:10:15

    我刚刚写完了

  • qq_迷途小书童_3
    2018-10-25 02:59:38

    你用的什么数据库? 客户端用的什么呢?