MySQL Gem

The RoR app that I have inherited was running without MySQL native
drivers on Ubuntu. I just installed MySQL gems to get the benifit of
using Native drivers. However:

  1. How do I know that the app has switched to using the native drivers
    instead of the slower ruby drivers.

It says so in the log file (or better: it doesn’t warn you about the pure ruby one anymore).

  1. It is an app running Mongrel cluster with a Capistrano deployment
    script. Will this gem take effect without redeploying (i.e.
    restarting)?

You’ll need to restart your cluster for it to take effect as far as I know.

Best regards

Peter De Berdt

That’s what it should be. If you don’t have the native driver installed, the logs will say you are running the pure ruby version and you’re better off installing the native one. So all should be fine now.

Best regards

Peter De Berdt