El Sábado, 5 de Septiembre de 2009, Iñaki Baz Castillo escribió:
> El Sábado, 5 de Septiembre de 2009, Jeremy Evans escribió:
> > On Sep 4, 2:41 pm, Iñaki Baz Castillo <[email protected]> wrote:
> > > Ok, I've added a "begin, rescue" in the Rack #call method so now I see
> > > the exception. There I see Sequel::DatabaseConnectionError.
> > >
> > > However, I still wonder how to detect that a prepared stament has been
> > > lost due to a DB server restart...
> > >
> > > Thanks a lot.
> >
> > The patch at http://pastie.org/606419.txt should fix this error.
> 
> Applied, but still happens:
> 
>   Mysql::Error: Can't connect to local MySQL server through socket
>   '/var/run/mysqld/mysqld.sock' (2)

I think it occurs when I call to ps#call (prepared stament) while the MySQL is 
restarting/stopped. 


-- 
Iñaki Baz Castillo <[email protected]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to