PreciousStones

PreciousStones

269k Downloads

autoReconnect=true

Kervinou opened this issue · 3 comments

commented

Hi !

I have a test server that is few used

If i connect after a long time, this console ERROR message appears
It seems that it is in source code that there's something to do

what do you think of that ?

thank you

[19:47:38 ERROR]: Error at SQL Query: The last packet successfully received from the server was 56827293 milliseconds ago.  The last packet sent successfully to the server was 56827293 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
[19:47:38 ERROR]: Query: SELECT * FROM pstone_players WHERE uuid = '2e148fbf-e82b-40b7-b586-0b96bb8fee38';

commented

Hi, we have had this for quite some time, I think it is just a timeout?

commented

Yeah it is a timeout
the option autoReconnect=true seems to be the solution
but where put it ? i read that it is when client access mysql so in our case this is in the source code

commented

Thank you !!!

De : Phaed [mailto:[email protected]]
Envoyé : mardi 22 novembre 2016 21:04
À : marcelo-mason/PreciousStones
Cc : Kervinou; Author
Objet : Re: [marcelo-mason/PreciousStones] autoReconnect=true (#1026)

Closed #1026 #1026 via bcbea14 bcbea14.