InfiniteSilence has asked for the wisdom of the Perl Monks concerning the following question:
I can access Mysql, so I know it is up and running. I have checked what's on the ports using netstat -a, which reveals that Mysql is on the 3306 port. I tried changing the port Mysql was listening on as well as the one refered to in the script, but still no luck, I get the same error. Is there a way to figure out what DBI is going wrong?my $dbh = DBI->connect("$driver:database=$database;host-127.0.0.1;port +=3306", "root", "mypassword")||die DBI::errrstr;
Celebrate Intellectual Diversity
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI - Can't create IP socket (10106)
by rucker (Scribe) on Aug 13, 2001 at 19:56 UTC | |
by InfiniteSilence (Curate) on Aug 13, 2001 at 20:22 UTC | |
|
(tye)Re: DBI - Can't create IP socket (10106)
by tye (Sage) on Aug 15, 2001 at 20:15 UTC | |
by Anonymous Monk on Jan 23, 2006 at 19:41 UTC |