Gossamer Forum
Home : Products : Gossamer Links : Discussions :

DBD::mysql (MySQL) ?

Quote Reply
DBD::mysql (MySQL) ?
Hi,

I have DBD::mysql installed but get this error:

Code:
A fatal error has occured:

install_driver(MySQL) failed: Can't locate DBD/MySQL.pm in @INC
(@INC contains: /path/cgi-bin/admin
/usr/lib/perl5/5.6.0/i386-linux
/usr/lib/perl5/5.6.0
/usr/lib/perl5/site_perl/5.6.0/i386-linux
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl .) at (eval 3) line 3.
Perhaps the DBD::MySQL perl module hasn't been fully installed,
or perhaps the capitalisation of 'MySQL' isn't right.
Available drivers: ADO, ExampleP, Multiplex, Proxy, mysql.
at /path/cgi-bin/admin/GT/SQL/Driver.pm line 78

Please enable debugging in setup for more details.
Does this mean I have to rename mysql.pm to MySQL.pm?

Thanks.


Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: DBD::mysql (MySQL) ? In reply to
Ok mysql.pm was renamed to MySQL.pm and now I get:

Code:
DBD::MySQL initialisation failed:
Can't locate object method "driver" via package
"DBD::MySQL" at /usr/lib/perl5/site_perl/5.6.0/i386-linux/DBI.pm line 526.
Perhaps the capitalisation of DBD 'MySQL' isn't right. at /path/cgi-
bin/admin/GT/SQL/Driver.pm line 78
Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com

Quote Reply
Re: DBD::mysql (MySQL) ? In reply to
It's getting confused. Don't change the capitalizations. Did you try to reinstall DBD::mysql as the message suggested?



PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Plugins:http://LinkSQL.com/plugin
Quote Reply
Re: DBD::mysql (MySQL) ? In reply to
Yes....apparently DBD::MySQL was the old package name and the new version is DBD::mysql so that has been installed properly from:


http://search.cpan.org/search?module=DBD::mysql

The installation (of Links SQL) was moved from one server to another could that be the problem? Do I need to update something somewhere in the config?

I already updated use lib '/path/to/admin'.. and everything in ConfigData.pm

Thanks!


Installs:http://wiredon.net/gt
FAQ:http://www.perlmad.com