Forums » General Discussion

Thread: Connecting to a MySQL database on an AWS instance

This question is answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: Aug 10, 2011 10:01 PM by: airborne-guy Threads: [ Previous | Next ]
airborne-guy

Posts: 2
Registered: 8/10/11
Connecting to a MySQL database on an AWS instance
Posted: Aug 10, 2011 8:50 PM
 
  Click to reply to this thread Reply

This must be easy but for some reason I can't get it to work.  I am trying to connect to a MySQL server running on an AWS instance of ubuntu.  I checked that the grants for the account specify the machine as '%' and the credentials work from the command line.  Port 3306 is open as well.  When I try to connect I get an error saying Unable to connect to any of the specified MySQL hosts.

Thanks for any help!



airborne-guy

Posts: 2
Registered: 8/10/11
Re: Connecting to a MySQL database on an AWS instance
Posted: Aug 10, 2011 10:01 PM   in response to: airborne-guy
 
  Click to reply to this thread Reply

Ignore this. I had not checked the my.cnf and seen that bind-address was set to localhost.

Uff!


Legend
Guru: 2001 + pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums