Require mysql gem in the method that uses it.