How do I connect to MySQL via SSH? Print

  • 0

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

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

Was this answer helpful?

« Back