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: '[EMAIL PROTECTED]' (Using password: YES) in c:\apache\htdocs\depots\temp\bomy\connect.php on line 2 Warning: MySQL Connection Failed: Access denied for user:'[EMAIL PROTECTED]' (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. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php