mysql-live-select icon indicating copy to clipboard operation
mysql-live-select copied to clipboard

Connection Timeout

Open narangrishab opened this issue 9 years ago • 1 comments

I'm using the sails js live package. After about 15 minutes, the end function is called. But it doesn't reconnect unless the URL is reloaded.

screen shot 2015-11-23 at 3 42 47 pm

narangrishab avatar Nov 23 '15 10:11 narangrishab

I am also experiencing the same error. Problem is with wait_timeout setting of mysql. Package mysql_live_connect doesn't reconnect and throws error when the connection is ideal for a certain time.

Even when connection is not ideal it gets disconnected by db when timeout interval has been passed after establishing connection.

@numtel : Can we listen to error and reconnect again in place of throwing the error?

pankajkumar avatar Nov 26 '15 10:11 pankajkumar