Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Unable to connect to any of the specified MySQL hosts.

Posted on 2012-03-27
5
Medium Priority
?
1,841 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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. . .
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

610 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