Report this

What is the reason for this report?

Trying to connect to MySQL database server through MySQL Workbench using SSH

Posted on January 8, 2015

I am having difficulty connecting to MYSQL database using Ubuntu server with Drupal application using SSH. I guess I’m not sure of the settings to put into the config screen.

SSH Hostname: my ip address SSH Username: root SSH Password: my server root pw SSH Password: Linked to putty key MySQL Hostname: 127.0.0.1 MySQL Server Port: 3306 Username: root password:MySQL pw

This does not let me in. Any suggestions? Ideas? I would like an easier way to access the databases without using terminal.

Also had trouble installing phpmyadmin on this pre-configured server.

Thanks, Mike



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I tried the above steps and not working for me. The steps I followed are as follows:

  1. Open puttygen
  2. Load private key
  3. Go to conversions
  4. Click Export OpenSSH key
  5. Once prompted save the key as private_key.ppk
  6. In workbench use the this key and try logging in.

In step 5 Instead of saving as private_key.ppk, I even tried to save without .ppk extension. Both did not work. is there anything I am missing here. Thanks!

I have been searching for hours and kamaln7’s suggestion worked! Thank you very much!

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.