Urgent Help needed

From: Date: Fri, 18 Oct 2002 08:39:17 +0000
Subject: Urgent Help needed
Groups: php.general 
Request: Send a blank email to php-general+get-120478@lists.php.net to get a copy of this message
Hi all, I have used the following script to connect our remote database from my local machine. The PHP script is at my local machine. When I tried to connect the database, instead of connecting to the IP provided in the script, it is searching the Dynamic IP of my Internet Service Provider. and getting the following error. Script in my local machine is : <?php mysql_connect("216.180.237.200","let_rot","vindb") or die ("cannot connect to mysqld"); mysql_select_db("lnet_bbay") or die("cannot select database"); ?> The IP 216.180.237.200 is the IP provided by my Web space provider. The error message is, Warning: Access denied for user: 'lngsnet_root@203.199.234.139' (Using password: YES) in c:\apache\htdocs\depots\temp\bomy\connect.php on line 2 Warning: MySQL Connection Failed: Access denied for user:'lngsnet_root@203.199.234.139' (Using password: YES) inc:\apache\htdocs\depots\temp\bombay\connect.php on line 2 cannot connect to mysqld The IP 203.100.234.139 is the Dynamic IP of my Internet Service Provider. Please help me to sort out the problem. Regards, Vinod.

« previous php.general (#120478) next »