On Thursday, October 13, 2016 at 11:22:27 AM UTC-7, Nicolò Benigni wrote:
> Thanks for the answer. Can I have an example of a little snippet 
> using connection_validator ?

You should just need to load the extension into your Sequel::Database 



> Or a little explaination of how to debug network problem of my mysql? It 
> is on the same machine of the app... so it talks on localhost.. could be a 
> timeout problem?

It's fairly odd to get this if your database is on the same server, unless 
you are restarting the database while the app is running.  However, if your 
database is configured to time out connections after a given period of 
time, that could cause it.  The best fix for that would be to just turn the 
time out off.


You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sequel-talk+unsubscr...@googlegroups.com.
To post to this group, send email to sequel-talk@googlegroups.com.
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to