This guide shows you exactly where to find your database connection details in your HOSTDOG hosting control panel. You will locate the hostname, database name, username, and learn what to do if you have forgotten the password.
Your database connection details
On HOSTDOG shared hosting, your database connection details are:
| Setting | Value | Where to find it |
|---|---|---|
| Hostname | localhost |
Always localhost on shared hosting |
| Database name | yourusername_dbname |
Control panel → MySQL Databases → Current Databases |
| Username | yourusername_dbuser |
Control panel → MySQL Databases → Current Users |
| Password | (set during user creation) | Not displayed after creation — reset if forgotten |
Find your details step by step
Navigate to the HOSTDOG homepage and click the Log in button in the top-right corner. From your client area, go to your hosting service and click Login to Control Panel.
In your control panel, find the Databases section and click MySQL Databases.
Scroll down to the Current Databases table. This shows all your databases with their assigned users. The database name appears in the Database column, and the associated username in the Privileged Users column. Both include your account prefix (e.g., myaccount_).
wp-config.php in your site's root directory.
Find credentials in application config files
If your application is already running, the database credentials are stored in its configuration file:
| Application | Config file | Location |
|---|---|---|
| WordPress | wp-config.php |
Site root (public_html/) |
| Joomla | configuration.php |
Site root |
| Drupal | settings.php |
sites/default/ |
| PrestaShop | parameters.php |
app/config/ |
| Laravel | .env |
Project root |
Open the file using File Manager or an FTP client to view the stored credentials.
Reset a forgotten database password
The control panel does not display database user passwords after creation. If you have forgotten the password:
- Go to MySQL Databases in your control panel
- Scroll to the Current Users section
- Click Change Password next to the database user
- Set a new strong password and click Change Password
- Update the password in your application's configuration file