Java Hibernate/C3P0 error: “Could not obtain connection metadata. An attempt by a client to checkout a Connection has timed out.”

前端 未结 3 2143
星月不相逢
星月不相逢 2021-02-19 11:24

I\'m trying to get some code I was passed up and running. It appears to use the Hibernate framework. I\'ve gotten past most of the errors tweaking the configuration, but this on

3条回答
  •  生来不讨喜
    2021-02-19 12:00

    Check if you can connect to the gamelog mysql database on the command line with the root user and no password (!). As a side note, I'd recommend to set a password for root and to use a different account to connect to the database from your application, but that's another story.

提交回复
热议问题