Re: i just don' know it ??
| From: | John Nichel | Date: | Tue, 22 Apr 2003 16:34:33 +0000 |
| Subject: | Re: i just don' know it ?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144865@lists.php.net to get a copy of this message | ||
That's a MySQL error. MySQL usernames / passwords are not the same as system user/pass. Did you set MySQL up with a root password? If not, you can connect like this...
$conn_id = mysql_connect ( "localhost", "root" );
If you did set up a root password for MySQL (remember, not the system root password), then connect like this.
$conn_id = mysql_connect ( "localhost", "root", "<!-- mysql pass -->" );
Further, if you do not have a root MySQL password, I suggest you set one up ASAP, and reload MySQL.
HTH
JS Georges wrote:
hi there, i really am starter with php. So i'm trying to make something but every time i'm getting the following error : Warning: Access denied for user: 'sardeur@localhost' (Using password: YES) in /home/sites/site77/web/Connections/login.php on line 9 Access denied for user: 'sardeur@localhost' (Using password: YES) I think something of the configuration is wrong ??? Is there somebody able to fix this ?? Thanks in advance Georges