Hi, "mysqlplus" (and of course also "mysql") driver blocks totally the Ruby process when it's trying to connect to a MySQL server. In case the server doesn't respond then we get our Tuby application stopped forever.
Please check the following code which shows the issue:
http://gist.github.com/264866
Is it possible to make MySQL connection non-blocking?
Regards.