Connection to sever failed
I have a mysql server running on a local Windwos machine, but I cannot connect:
$dbh = DBI->connect("dbi:mysqlPP:database=$database","$user", "$password")
results in:
Couldn't connect to /tmp/mysql.sock: at C:/Perl/site/lib/DBD/mysqlPP.pm line 109
and
$dbh = DBI->connect("dbi:mysqlPP:database=$database;host=localhost","$user", "$password")
gives:
Couldn't connect to localhost:3306/tcp: IO::Socket::INET: connect: timeout at C:/Perl/site/lib/DBD/mysqlPP.pm line 109
mysql gives for status
Connection: named pipe: mysql
UNIX socket: mysql
What's the problem?
Michael
Subject
Written By
Posted
Connection to sever failed
December 22, 2008 05:04AM
December 22, 2008 12:29PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.