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 ... at 192 dot 168.0.1 identified by 'password'
help please i'm going CRAZY