Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed a MySQL server in an Amazon EC2 instance. Then, I made the following changes in /etc/mysql/my.cnf:

bind-address =

After restarting the server, I executed the following statements on my database:

GRANT ALL ON MyDB.* TO newuser@'x.x.x.x' IDENTIFIED BY 'password';

where x.x.x.x is the public IP of my client machine.

On the machine which is running MySQL server, I have created the proper security group (i.e., TCP only), and added a rule to allow MySQL from the inbound tab of the security group.

I can connect to this instance via SSH with a key.

Is it possible to make a connection to the MySQL server from any machine using the SSH key?

share|improve this question

You must log in to answer this question.

Browse other questions tagged .