Solved

Unable to connect to any of the specified MySQL hosts.

Posted on 2012-03-27
5
1,521 Views
Last Modified: 2012-04-09
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


Unable to connect to any of the specified MySQL hosts.when trying to connect to remote mysql server using Toad for Mysql.

I was able to connect successfully previously & I lost it today.

Below is result of netstat                                  
                                                                           
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                LISTEN
0
Comment
Question by:chinniatluri
  • 3
  • 2
5 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 37770632
sounds like your network is not working netstat should not say 0.0.0.0

what does ipconfig /all say?
0
 

Author Comment

by:chinniatluri
ID: 37770701
Mysql is on Linux Server & I'm connecting from Wndows host.
0
 
LVL 30

Expert Comment

by:IanTh
ID: 37770741
yes so can your windows host ping the mysql linux sever?
0
 

Accepted Solution

by:
chinniatluri earned 0 total points
ID: 37805433
Issue is with FIrewall IPtables...Modifying it resolved the issue
0
 

Author Closing Comment

by:chinniatluri
ID: 37822686
I didnt get sufficient input for looking into the issue from firewall end
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Loading csv or delimited data files to MySQL database is a very common task frequently questioned about and almost every time LOAD DATA INFILE comes to the rescue. Here we will try to understand some of the very common scenarios for loading data …
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now