java jdbc mysql connector: how to resolve disconnection after a long idle time

后端 未结 7 2112
不知归路
不知归路 2020-12-11 09:51

I\'m using red5 1.0.0rc1 to create an online game. I\'m connecting to a MySQL database using a jdbc mysql connector v5.1.12

it seems that after several hours of idle

相关标签:
7条回答
  • 2020-12-11 10:17

    You can check here for a similar issue.

    Append '?autoReconnect=true' to the end of your database's JDBC URL (without the quotes) worked for me.

    0 讨论(0)
提交回复
热议问题