Hey all
I can connect with $conn =
mysql_connect("IP_Address","username","password");
but I can't connect with
$host = "IP_Address";
$user = "username";
$pass = "password";
$conn = mysql_connect($host,$user,$pass);
Any ideas? All I get is "Can't connect to MySQL Server on 'localhost',
which is kinda weird cos I'm actually specifying a (different) IP
address in the host argument.
I know it wasn't broken, but I decided to try and fix it anyways!!!
TIA!
Dave
- RE: [PHP-DB] Weird Problem In mysql_connect(); Dave Watkinson
- RE: [PHP-DB] Weird Problem In mysql_connect(); Dave Watkinson
- Re: [PHP-DB] Weird Problem In mysql_connect(); Jonathan Hilgeman
- RE: [PHP-DB] Weird Problem In mysql_connect(); Brunner, Daniel
- RE: [PHP-DB] Weird Problem In mysql_connect(); Brunner, Daniel
- RE: [PHP-DB] Weird Problem In mysql_connect(); Dave Watkinson
- Re: [PHP-DB] Weird Problem In mysql_connect(); Chris Hobbs
