Locating Your Database's Host Name
Do not use "localhost" as the hostname for your database-driven websites. Once you have successfully created a database, your host name displays on the Database Information page of your Hosting Control Panel.
To Find the Host Name for Your Database
- Log in to your Account Manager.
- Click Web Hosting.
- Next to the hosting account you want to use, click Launch.
- In the Databases section of the Hosting Control Panel, click MySQL or MSSQL depending on the database type for which you want the host name.
- From your list of databases, click Actions next to the database you want to use, and then click Details.
Your database host name displays in the Hostname field.