How do I connect to the MySQL database?

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');
mysql_select_db('yourdatabasename');
Have more questions? Submit a request

1 Comments

Please sign in to leave a comment.
Powered by Zendesk