Cart is empty
GoDaddy Support

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

  1. Log in to your Account Manager.
  2. 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)

  1. Next to the hosting account you want to use, click Launch.
  2. In the Databases section of the Hosting Control Panel, click the MySQL or SQL Server icon.
  3. From your list of databases, click Actions next to the database you want to use, and then click Details.
  4. 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's Details.

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 or Resetting Your Hosting Account's Database's Password.

For other information to use in your database connection strings, see Viewing Your Database's Details.

For more information, see What are the connection strings for my application's database?.

Rate This Article:
Related Topics:

NEED HELP? Call our award-winning support team 24/7 at (480) 505-8877
Submit

United States - English
Traffic Log Image