| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jun 2005
99 posts
Gave thanks: 0
Thanked 0 times
|
[Answered] Database host name
Hi
What Should I put down for the host name for the database? I have seen other hosting using mysql.domain-name.com for the host, is there difference If I put down localhost ? Thank you |
|
|
|
|
|
#2 (permalink) |
|
Staff of Surpass
Super #1
Joined in Apr 2007
2,689 posts
Gave thanks: 145
Thanked 178 times
|
localhost will work
![]()
__________________
D4nz Net - Surpass Help Desk - NES Forever Use the thanks button. It works! AIM: dansorl |
|
|
|
|
|
#3 (permalink) |
|
He shoots.. He scores!
Super #1
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,442 posts
Gave thanks: 46
Thanked 140 times
|
you would use localhost because your mysql databases are hosted on the same server as your website.
I have seen other hosting companies have separate servers for mysql, and in those cases you would have to specify a host name or IP.
__________________
SH110
|
|
|
|