| Message: 93719 |
 |
BY: Mike Pomraning (pilcrow) DATE: 2010-05-25 04:10 SUBJECT: RE: DBI.connect error-uninitialized Mysql:Driver > ... Could not load driver (uninitialized constant MysqlError) (DBI::InterfaceError)
Today I had and overcame this exact problem. Suggestion: remove your "mysql/ruby" gem or package install, and rebuild and reinstall. (Or switch to the pure ruby ruby/mysql.)
Background: My "mysql/ruby" (C extension) gem was built against libmysqlclient.so.15, but I had since upgraded to a server version with ...so.16.
The gem installation appeared to swallow the error (loading "mysql_api" failed silently, I think). Frustrating.
In any case, rebuilding and reinstalling did the trick. | |