FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Connecting to MySQL server

 


DarkCore
I have a application that requires to be connected to the MySQL server. Whats the address for my website? Ive tried darkcore.frih.net but it just throws an error and says can't connect.
BlackSkad
Normally, the location of your database is 'localhost'. It's like that on server one, but I'm not sure about server two.
DarkCore
Its like that for Server 2 as well but, thats internely. That means like the server and client are located at the same place. I need it to be externel. The app and the server arnet located at the same place.
BlackSkad
After a little search on the forums, I came up with this topic.
In short it says that you might try using the ip (216.32.85.170), but it is not likely to work. The thread quotes Bondings as saying it isn't even possible.
For more info, you might pm Bondings.
hyhy
Localhost.
ganbate
hyhy wrote:
Localhost.

localhost only used when the application instaled on the server.
if it's not then use the server's ip.

try to use 216.32.85.170. i have't try it, hope it works.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.