Connecting to MySQL through SSH.

Updated 2 years ago 681 views

Use the following outline to connect and begin querying the MySQL server from a SSH session.

  • Connect To The MySQL Server
    bash$ mysql -u USERNAME -p
    Enter Password: PASSWORD
  • Connect To The Database
    bash$ use DATABASENAME;
  • Receving Help
    bash$ help

Still need help?

If this article did not answer your question, our support team can help.

Contact support
Top