MySQL Forums
Forum List  »  Perl

Re: Problem Connecting to Server with Perl
Posted by: Randy Clamons
Date: September 07, 2010 02:18PM

Hi Eric,

It could be a few things. Yes, the documentation says that if bind-address is localhost a named pipe will be opened. That setting must be changed in the settings file. It's usually located in the same folder as your MySql installation. In any case, you'll need to find it sooner or later as settings there will also affect your performance.

But it might not be that. The error doesn't say the socket doesn't exist, it says the socket has refused the connection. It could be that the user attempting to log in has not been authorized access from that ip address. Do you have some way of accessing the db directly (not through your web server) to check your security settings and authorized user list? I would start there.

Options: ReplyQuote

Written By
Re: Problem Connecting to Server with Perl
September 07, 2010 02:18PM

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.