Solved

Unable to connect to any of the specified MySQL hosts.

Posted on 2012-03-27
5
1,576 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

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

I use MySQL for many of my development projects in a Windows environment. To manage my databases (and perform queries) for years I used a tool called MySQL administrator.  This tool has since been replaced by MySQL Workbench. So I decided to m…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

25 Experts available now in Live!

Get 1:1 Help Now