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 DatabasesCurrent Databases
Username yourusername_dbuser Control panel → MySQL DatabasesCurrent Users
Password (set during user creation) Not displayed after creation — reset if forgotten

Find your details step by step

Step 1:
Log in to your control panel

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.

Step 2:
Open MySQL Databases

In your control panel, find the Databases section and click MySQL Databases.

Step 3:
Locate the database name and username

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_).

Tip: If your application was installed with Softaculous (e.g., WordPress one-click install), the database name and user were generated automatically. You can also find them in the application's configuration file — for WordPress, check 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:

  1. Go to MySQL Databases in your control panel
  2. Scroll to the Current Users section
  3. Click Change Password next to the database user
  4. Set a new strong password and click Change Password
  5. Update the password in your application's configuration file
Important: After changing the database password, your website will show a database connection error until you update the password in the application's config file. Make the change in both places at the same time.
Need Help? If you cannot locate your database details or need assistance with database configuration, our support team is available 24/7. Navigate to the HOSTDOG homepage and click the Log in button to open a support ticket and we will assist you promptly.