Solved

Unable to connect to any of the specified MySQL hosts.

Posted on 2012-03-27
5
1,740 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

717 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