Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBI problems in AIX

Status
Not open for further replies.

chrisw669

Technical User
Feb 19, 2002
43
US
I'm trying to connect to a mysql dbase from perl. when i make the db call to connect i get several errors complaining about libmysqlclient.so. first of all, i can't seem to find the file anywhere, i do however see libmysqlclient.a. Here's the call that i'm using ::

my $dbh = DBI->connect("DBI:mysql:database=$database", 'usr', 'pass') || die "couldn't open";

I'm pretty sure it's not my code but a configuration problem. Any suggestions?

thanks
 
First off have you installed all the perl modules relating to DBI and MySQL, in particular Msql-Mysql-modules? Setting up Perl to talk to MySQL can be a bit tricky, but I have managed it on both Linux and Windows platforms without too much pain.

Have a look to at as that may help, in particular the following link:


HTH,
Barbie. Leader of Birmingham Perl Mongers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top