There are two ways you can connect to your database.
1.) You can login to your control panel at http://cp.abovemedia.com and click on “phpMyAdmin”.
2.) You can use PHP to connect to your database using the following:
// connect to the database
$dbh = mysql_connect('localhost', 'yourusername', 'yourpassword');