Are u doing a user@hostname or user@%? The hostname part is needed, % means
from anywhere. A better way to write this to prevent any errors is enclosing
user & host in single quotes as such: 'user'@'host'.

Regards,
Bhavin.
----- Original Message -----
From: "Michael Knauf/Niles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 26, 2002 6:31 AM
Subject: I can login to mysql as root but not as any other user...


>
> mysql is running on an i386 box with Red Hat Linux 7.0
>
> this works:
> mysql -u root -p
>
> --it askes for the root password, and lets me into the mysql monitor. I
can
> create databases and tables, life seems good.
>
> than I try something like:
>
> Grant all on *.* to user identified by 'password';
>
> where user and password make sense. It seems to work. So, I logout "\q"
>
> and try
>
> mysql -u user -p
>
> and I get an access denied error.
>
> Whare am I going wrong?
>
> Michael
>
>
> ---------------------------------------------------------------------
> 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