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

后端 未结 7 2133
不知归路
不知归路 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:11

    Do you have a validationQuery defined (like select 1)? If not, using a validation query would help.

提交回复
热议问题