In order for Drupal to work correctly, you have to configure your database details to access the database. To do this, you need to access the information that is stored in the settings.php file, it is located in:
username/public_html/sites/default
username/public_html/sites/default