good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Unable to connect to databaseby Shaveta_Chawla (Sexton) |
on Aug 07, 2013 at 10:14 UTC ( [id://1048320]=perlquestion: print w/replies, xml ) | Need Help?? |
Shaveta_Chawla has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am trying to connect to remote database. The snippet of the code is:
When i execute the script i get the following error: install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains ........ my mysql and DBI package is up and running. Manually installed the DBD module and copied it into the perl repository. From CPAN i get:
From PPM i get:
Even when i execute the command
i get the following error: Can't locate loadable object for module DBD::mysql in @INC...... perl -e "print @INC"; gives me the location of perl library where DBD module is installed. i don't know how to resolve the issue.
Back to
Seekers of Perl Wisdom
|
|