MartinCouture
Technical User
$dbhost = "someserver.no-ip.com";
$dbuname = "test";
$dbpass = "test";
$dbi=@mysql_connect($dbhost, $dbuname, $dbpass);
Results: Can't connect to database.
I'm trying to have my script on a public server connect to my own mysql database (because it's too big to host on the public server) and it can't connect.
Everything works fine if $dbhost = "localhost";
-Made a remote account from MySQL Front test@% (username test from any remote IP),
-Made access through my firewall for port 3306 TCP in, and 3306 local port.
I think it must be my firewall, any brains out there for firewall setting and letting MySQL come in ??? ie: not localhost...
Thanks
-----------------
[flush]
$dbuname = "test";
$dbpass = "test";
$dbi=@mysql_connect($dbhost, $dbuname, $dbpass);
Results: Can't connect to database.
I'm trying to have my script on a public server connect to my own mysql database (because it's too big to host on the public server) and it can't connect.
Everything works fine if $dbhost = "localhost";
-Made a remote account from MySQL Front test@% (username test from any remote IP),
-Made access through my firewall for port 3306 TCP in, and 3306 local port.
I think it must be my firewall, any brains out there for firewall setting and letting MySQL come in ??? ie: not localhost...
Thanks
-----------------
[flush]