List:MySQL and PHP« Previous MessageNext Message »
From:gwahir hotmail Date:December 3 2009 5:31pm
Subject:connect error
View as plain text  
hello guys i've a problem that i'm going crazy

 

machine freebsd 7.2 (192.168.0.1)

php 5.2

mysql 5.1

 

 

if i do 

 

$link = mysql_connect ("localhost",user,password)

 

i connect perfectly

 

but if i do

 

$link = mysql_connect ("192.168.0.1",user,password)

 

 

i get "Can't connect to Mysql on '192.168.0.1' (0)"  

 

 

localhost and 192.168.0.1 are the same machine

 

 

i've this two grants

 

 

grant all on *.* to user@localhost identified by 'password'

grant all on *.* to user@stripped identified by 'password'

 

 

help please i'm going CRAZY

 

 
 		 	   		  
_________________________________________________________________
Deja que Sietes te enseñe todo los secretos de Windows
http://www.sietesunpueblodeexpertos.com/
Thread
connect errorgwahir hotmail3 Dec
  • Re: connect errorNils Meyer3 Dec
    • RE: connect errorgwahir hotmail3 Dec
  • Re: connect errorMichel Belleau3 Dec
    • RE: connect errorgwahir hotmail4 Dec
      • RE: connect errorMichel Belleau4 Dec