The way mysql access tables work, if it cant find a user named 'user2', it
will default to the blank user ( '' ).
dpk

----- Original Message -----
From: "Pierre-Yves" <[EMAIL PROTECTED]>
To: "Dana Powers" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 28, 2001 4:39 PM
Subject: Re: ERROR 1044: Access denied


>
> ----- Original Message -----
> From: "Dana Powers" <[EMAIL PROTECTED]>
> To: "Pierre-Yves" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 29, 2001 1:22 AM
> Subject: Re: ERROR 1044: Access denied
>
>
> > > ERROR 1044: Access denied for user: '@localhost' to database 'hello'
> > This says that you are connected as user '' ( blank ) from localhost.
Make
> > sure you're logging on correctly and try again.
> > dpk
>
> but I use the following command to connect mysql :
>
> mysql --user=user2 --host=localhost
>
> (there is no password for this user)
> and when I do this with the user1 it is working...
> so i don't think that's the problem.
>
>
>
> ---------------------------------------------------------------------
> 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