Hi
My environment is
ruby 1.8.6
rails 2.2.2
mysql 5.1
windowsXP
I have a very lengthy controller action which fetch mail from pop
server.
But some times I get error. Mainly three error. And I have to restart
the application again to remove this errors. But after some time the
same errors again happens
1) Mysql::Error (Can''t connect to MySQL server on
''localhost'' (10048)):
C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:548:in
`real_connect''
C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:548:in
`connect''
C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:198:in
`initialize''
----------------------etc
2) Mysql::Error (Can''t connect to MySQL server on
''localhost'' (10055)):
----------------etc
C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb:74:in
`mysql_connection''
C:/Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:223:in
`send''
3) Errno::ENOTCONN (A request to send or receive data was disallowed
because the socket is not connected and (when sending on a datagram
socket using a sendto call) no address was supplied.):
/lib/pop_ssl.rb:535:in `connect''
/lib/pop_ssl.rb:535:in `do_start''
/lib/pop_ssl.rb:507:in `start''
/lib/pop_ssl.rb:382:in `start''
Please help to solve this issue
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.