The using password:YES it doesn't mean the user require a password (this can
be a security hole by displaing this message) ... it means that the user
which is trying to connect are using a password to connect to mysql.

Second: the error doesn't mean that the user are using a bad password or a
password at all (in this case the error is bad password) it means that your
user (the [EMAIL PROTECTED] are a different user then the [EMAIL PROTECTED]) are
not authorised to login into the mysql. For each host from which you are
trying to  connect youi should add from the [EMAIL PROTECTED] an entry to the
mysql database into the host and user tables with the action writes that the
user is authorised to do for a db or for every db ...

Indeed you should read more careffuly the mysql manual in how to add users,
how the password are crypted, and how to give the users appropriate rights.
However this is not a php problem ... this is a mysql problem


-- 
-------------------------------------------------
Cristian MARIN - Developer
InterAKT Online (www.interakt.ro)
Tel:         +4021 312.53.12
Tel/Fax:  +4021 312.51.91
[EMAIL PROTECTED]
"Doris Pelger .:. Eva Horner" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Zicux
> Using password: YES, means that you have to use the password when
connecting
> to the db.
>
> If you cannot connect with your password, you do not have the proper
rights.
> You could then turn to the MySql manual and check the "Grant" and
privileges
> section.
>
> Cheers,
> Doris
>
> ----- Original Message -----
> From: "zicux" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 03, 2003 11:35 PM
> Subject: [PHP-WIN] can't connect to mysql
>
>
> > Hello,
> >
> > I  have  a problem with connecting to MySQL. It gives out message like
> > this:
> > "Warning:     mysql_connect():  Access    denied    for    user:
> '[EMAIL PROTECTED]' (Using password: YES)"
> > What  the  heck  does  that  password  YES  mean,  cause I use another
> > password.
> >
> > --
> >
> >  zicux                          mailto:[EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to