What is the server I should use in my code to connect to my database?
|
Last Updated: September 28, 2005 10:18 AM
|
Print This Article |
Do not use "localhost" as the hostname (or database server) for your database-driven Web sites. Once you have successfully created a database, your host name displays on the Database Information page of your Hosting Manager.
To Find the Host Name for Your Database
- Log in to your Account Manager.
- Under the Hosting & Email section, select Hosting Account List.
- Next to the hosting account you want to modify, click Open.
- Under the Databases section of the Hosting Manager, click the icon for the type of database you're interested in.
- From your list of databases, click the Pencil icon next to the database you want more information about.
- The Database Information page displays. You will find the host name for your database on this page.