I have a Perl DBI error

Asked by:
HubFans / n/a Points
Time:
2014-12-22 6:23 pm EST
Category:
Website
Hits:
54
I have the following error in my perl script:
Can't locate DBI.pm in @INC (@INC contains: /home/for3dc5/perl5/lib/perl5 /home/for3dc5/perl5/lib/perl5/x86_64-linux-thread-multi /home/for3dc5/perl/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /home/for3dc5/perl/usr/lib/perl5/site_perl/5.8.8 /home/for3dc5/perl/usr/lib/perl5/site_perl /home/for3dc5/perl/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /home/for3dc5/perl/usr/lib/perl5/vendor_perl/5.8.8 /home/for3dc5/perl/usr/lib/perl5/vendor_perl /home/for3dc5/perl/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /home/for3dc5/perl/usr/lib/perl5/5.8.8 /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at init_gallery.pl line 37.

require DBI; #line 37

$dbh = DBI->connect("DBI:mysql:host=$sql->{host};database=$sql->{db}",$sql->{user},$sql->{pass}) or die $DBI::errstr; #line 39

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

JeffMa
Staff
2,342 Points
2014-12-22 7:08 pm EST
Hello,

Typically, DBI is installed on all servers. If you are experiencing issues with DBI within the specific server that houses your account, I recommend submitting a verified ticket to technical support in which they will be able to make the necessary configuration changes.

Best regards,
JeffMa

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}