For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > March 2006 > RE: [PHP-DB] Cannot connect to MySQL using









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] Cannot connect to MySQL using
Nur_Adman@fmi.com

2006-03-29, 6:57 pm

Dear All,



I found the way.



I opened file --> C:\WINNT\system32\drivers\etc\hosts

Then change :

127.0.0.1 localhost

become :

157.47.115.180 [my_server_name]



Then my problem solved.





Thanks & Regards,

Anita


Constantin Wolber

2006-03-30, 3:57 am

Nur_Adman@fmi.com wrote:

>Then change :
>
> 127.0.0.1 localhost
>
>become :
>
>157.47.115.180 [my_server_name]
>
>


Changing this line is probably not the best way. This file is used for
resolving the hostnames ti ip adresses. So a better way would probably
be adding the line to the file. Since the entry for localhost should
remain in this file.

Greets Constantin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com