db connection error
| From: | Jacky@lilst | Date: | Wed, 24 Jan 2001 21:06:47 +0000 |
| Subject: | db connection error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-36349@lists.php.net to get a copy of this message | ||
Hi all,
I got the error below when I tried to establish db coonection.
Warning: MySQL Connection Failed: Access denied for user: 'freesale@www.swambo.com' (Using
password: YES) in /home/sites/site1/web/FreeSale/submitagree.php3 on line 2
The sniplet is :
$connection = mysql_connect("216.122.146.146", "freesale", "secret");
what is the problem here?
Jack
jacky@activelifestyle.com
"There is nothing more rewarding than reaching the goal you set for yourself"