Jump to content

mysql connection refused


flumpydog

Recommended Posts

I am having problems with connecting to our mysql server both locally and from another box. According to the variables, it is running on port 3306, the skip_networking is off and I have confirmed that the mysql.sock does exist.

 

When I try to connect locally to confirm mysqld is running on port 3306, I receive the following error message:

\"MHost \'domain.com\' is not allowed to connect to this MySQL serverConnection closed by foreign host.\"

 

When I try to connect remotely I get this error \"Connection closed by foreign host.\"

 

I have granted all rights to the user and tried using both hostname and IP address.

 

I have ran flush_hosts and flush_privileges and this did not help any. I even started mysqld and manually specified port 3306 and still have the same connection refused problem.

 

Any help will be greatly appreciated!

 

Charlie

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.