Help - Search - Members - Calendar
Full Version: Unsupported Driver Error
Movable Type Community Forum > Installing and Upgrading > Databases
AlyxKat
I installed Movable Type a few weeks ago, and it has been working perfectly fine. I did not modify or delete any files but I started to receive the following error after being logged in with no problems all evening:


Got an error: Unsupported driver MT::ObjectDriver::DBI::mysql: Can't locate DBI.pm in @INC (@INC contains: ./extlib ./lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at lib/MT/ObjectDriver/DBI.pm line 9. BEGIN failed--compilation aborted at lib/MT/ObjectDriver/DBI.pm line 9. Compilation failed in require at lib/MT/ObjectDriver/DBI/mysql.pm line 9. BEGIN failed--compilation aborted at lib/MT/ObjectDriver/DBI/mysql.pm line 9. Compilation failed in require at (eval 3) line 1. BEGIN failed--compilation aborted at (eval 3) line 1.


Is the problem on my end or on the service that hosts my domain? As I said I did not change anything, but I also started receiving other strange errors not directly relating to MT or MySQL as well when I logged into cPanel.
faf
yeah talk to your hosts.
AlyxKat
I emailed them and they said it was due to server upgrades and everything is fixed, but now I'm getting this message instead

Got an error: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: ./extlib ./lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at (eval 4) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: ExampleP, Multiplex, Proxy. at lib/MT/ObjectDriver/DBI/mysql.pm line 48
AlyxKat
also, i checked my perl modules and DBD::mysql is listed. i just want to make sure there isn't something i need to change in my config file.
AlyxKat
also, my guestbook also uses a mysql database but that is running just fine which is why I'm not so sure if the problem is on my hosts end or mine. shouldn't that be messed up too?
mattymatt
I'm getting the same problem. My host (DotEasy) and I have been going back and forth on it all week; they say "Our operations team suspects that it may be a problem related to the current installation." But I'm not convinced, since nothing about my current installation was changed. I suspect a mySQL problem, but diagnosing that is over my head.

The error message I'm getting is:
Got an error: install_driver(mysql) failed: Can't load '/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/mysql/mysql.so: cannot open shared object file: Permission denied at /usr/lib/perl5/5.8.1/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 5) line 3
Compilation failed in require at (eval 5) line 3.
Perhaps a required shared library or dll isn't installed where expected
at lib/MT/ObjectDriver/DBI/mysql.pm line 48

I've gone poking around in my server's subdirectories, and I discovered that one of the URLs in that error message doesn't exist. There is no /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/DBD/ directory. I think that might be the cause of the problem, and I've suggested that to my host, but they're asking me to re-install Movable Type. This is rather frustrating, since I can't completely reinstall without accessing mt.cgi -- and doing that is what causes the error message above. Argh.
sarah
See Knowledge Base: Install_driver failed.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.