Problems with MySQL and DBD/DBI modules
Hi everybody,
I have installed MySQL on my server a little while ago, and I have also installed the DBI and DBD:MySQL modules. However, when I tried to use a file which connects to MySQL, I got the following error:
[yl@fubar cgi-bin]$ perl test2.pl
install_driver(mysql) failed: Can't locate loadable object for module
DBD::mysql
in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.0050
3 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005
.) at
(eval 1) line 3
Perhaps a module that DBD::mysql requires hasn't been fully installed
at test2.pl line 5
Does anyone know what it means and how to fix it?
I hope to hear from you soon.
Sincerely,
Yevgeniy Leshchinskiy
[email protected]
Animation Library http://www.animationlibrary.com
roBofh posted this at 12:02 — 14th May 2000.
They have: 122 posts
Joined: Jun 2000
Have you installed the Mysql-msql-modules?
yevlesh posted this at 14:32 — 14th May 2000.
They have: 42 posts
Joined: Mar 1999
Yes, I installed them
hcshim posted this at 21:48 — 18th May 2000.
They have: 20 posts
Joined: May 2000
It means that there is something worng with your DBD:MySQL modules. A good solution would be to reinstall your DBI and DBD:MySQL modules. Use the CPAN installer if possible. It's less error prone.
Regards,
Shim
[email protected]
http://www.hotredirect.com
[This message has been edited by hcshim (edited 18 May 2000).]
HotRedirect - Free URL Redirection and Unlimited E-mails
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.