Manually configuring your application to access the MySQL database

Let's say that you want to upload and install a new application. To do this you need the MySQL information: host, port, username, and password.

Following is where you will find these values.

Host: 127.0.0.1
Port: In ~/.my.cnf. This is available from your dashboard on the Manage screen for your application.
Username: Same as the SSH/SCP/SFTP username (shell username). This is available from your dashboard on the Manage screen for your application. Also provided to you when you created the application.
Password: In ~/.my.cnf. Also provided to you when you created the application.
Database: For the "Empty" Application it would be 'scratch'.

Note that all of this information can be found in ~/.my.cnf.

There is also a MySQL administrator account that has full privilege to create and delete databases and grant privileges for your application and this is available in ~/.mysql.passwd.