another problem with mySQL server
| From: | Damiano Ferrari | Date: | Fri, 05 Jul 2002 18:39:01 +0000 |
| Subject: | another problem with mySQL server | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-20345@lists.php.net to get a copy of this message | ||
Hello everybody,
I am having again problems with the mySQL server. I wrote one simple
.php page with the following lines:
<?
mysql_connect("localhost","admin","password") or die("Could not
connect to server");
?>
When I call the script, I get this error:
Warning: Access denied for user: 'admin@localhost' (Using password: YES) in
D:\Inetpub\wwwroot\test.php on line 2
Warning: MySQL Connection Failed: Access denied for user: 'admin@localhost' (Using
password: YES) in D:\Inetpub\wwwroot\test.php on line 2
Could not connect to server
I started having problems while I was updating some tables through
phpMyAdmin. I suspect this must be a problem related to mySQL, but how
do I verify that and how can I fix the problem? Any idea/help would
be, again, much appreciated.
Damiano