Whether you are using Wordpress, Magento, Drupal or something completely custom to your site, the connection to the database should be pretty similar.

When you register you host you will receive alle the necessary information about your database.

You will find you database connection files in the follow directories:

Wordpress: public/wp-config.php

Magento: public/app/etc/local.xml

Drupal 7: public/sites/all/settings.php

Most commonly you will have to fill in host(server), database name, User name, password and in some cases port. All this is provided inn the mail received when adding a host, site or database.

Did this answer your question?