It looks like you have a dynamic IP your end and the mysql server is looking
for a fixed IP.
Try name based DNS form your PC. 
Simon


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:manuvi@;eth.net]
Sent: 18 October 2002 09:38
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Urgent Help needed


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

---------------------------------------------------------------------
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

Reply via email to