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.

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

Was this answer helpful?

« Back