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

前端 未结 3 2144
星月不相逢
星月不相逢 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 11:55

    Actually that's not even an authentication error. Is MySQL even running or bound to localhost?

    does telnet 127.0.0.1 3306 work? if so, install the mysql client on the box and try

    mysql --user=root --ip=127.0.0.1 and see what happens

提交回复
热议问题