Accessing your Application MySQL Database

The process is straighforward:

1. Login via SSH to your application using your credentials.
2. Type the following at the command prompt:

$ mysql

Note that your MySQL credentials are stored in .my.cnf and .mysql.passwd in the home directory. This is for your convenience, but remember that it is important to protect the login with a secure password.

Never store sensitive information (i.e. credit card numbers) that is unencrypted in a database.