Locating Your Database Connection Strings
Database-driven applications, such as WordPress, use connection strings to connect to your hosting account's database.
To Locate Your Database Connection Strings
- Log in to your Account Manager.
- Click Web Hosting.
Click one of the following, based on the type of hosting you have. You can tell this by the second word in your hosting's description beneath your hosting account's domain name, e.g. Deluxe Web correlates to Web/Classic (Hosting Control Panel).
Web/Classic (Hosting Control Panel)
- Next to the hosting account you want to use, click Manage.
- In the Databases section of the Hosting Control Panel, click the MySQL or SQL Server icon.
- From your list of databases, click Actions next to the database you want to use, and then click Details.
- Click Code Sample.
Linux (cPanel)
Because cPanel hosts your databases locally, use localhost
as the database's hostname.
For other information to use in your database connection strings, see Viewing Your Database Details with Shared Hosting Accounts.
Windows (Plesk)
Click Databases.
You can connect to the database using the IP address in the Database server column.
Do not include the port following the IP address for your MySQL databases. For example, if your Database Server is 1.1.1.1:3306
, use 1.1.1.1
as your database's hostname.
If you need login information for the database, go to the Users tab. If you need to manage your databases' users' login info, see Resetting Your Hosting Account's Database's Password.
For other information to use in your database connection strings, see Viewing Your Database Details with Shared Hosting Accounts.
For more information, see What are the connection strings for my application's database?.