Unable to connect to any of the specified MySQL hosts.

Posted on 2012-03-27
Last Modified: 2012-04-09
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).

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


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      *                LISTEN
Question by:chinniatluri
  • 3
  • 2
LVL 30

Expert Comment

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

what does ipconfig /all say?

Author Comment

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

Expert Comment

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

Accepted Solution

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

Author Closing Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL not outputting all Emojis in text field when using UTF8MB4 5 44
Amazon Redshift 2 33
mysql date time 14 28
INDEX does not make a difference, why? 10 44
Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (, A SQLite Tidbit: Quick Numbers Table Generation (…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 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