MySQL Forums
Forum List  »  Perl

Re: Connection to sever failed
Posted by: Randy Clamons
Date: December 22, 2008 12:29PM

Your problem is that your client is trying to connect with tcp and your server is expecting a connection through a named pipe.

In your my.ini file under mysqld section you should have two line like this:

bind-address=127.0.0.1
port=3306

If your bind-address is localhost, mySql automatically open a named pipe. Use the ip address instead.

Options: ReplyQuote


Subject
Written By
Posted
December 22, 2008 05:04AM
Re: Connection to sever failed
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.