Secure-Shell (SSH) Reference Sheet – Database

This is the continuation of my Secure-Shell Reference Sheet – Basic.

Note: Anything surrounded by *asterisks* is where your input is required.

Accessing a Database

{code}mysql -u *username* -p *password* -h *hostname* *database*{/code}
This will log in directly

{code}mysql -u *username* -h *hostname* *database*{/code}
This will prompt you for the database user’s password
Continue reading Secure-Shell (SSH) Reference Sheet – Database