Skip to content

'mysqlplus' blocks the entire Ruby process when connecting to DB #3

@ibc

Description

@ibc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions