faqts : Computers : Web Hosting : PowWeb : PHP and mySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 4 people (75%) answered Yes
Recently 3 of 4 people (75%) answered Yes

Entry

Do I use 'localhost' as my database server name?

Aug 31st, 2005 09:09
Karl Fry,


You cannot use 'localhost' as your server name.  Each database is 
assigned to a specific database server at PowWeb.  On the mySQL tab in 
OPS (located under "Packages") you can see your assigned database 
server toward the top of the page, right above the user table:
"Your mySQL database [database name] is hosted on PowWeb's server 
[database server name] run mysqld version 4.1.11-log. Your database 
users and privileges are shown below. All changes are made in real 
time."
You will input the [database server name], which will look 
like "mysqlXX.powweb.com" in your PHP/CGI script configuration, in 
place of 'localhost'.