Firstly, have you flushed privileges?

Secondly, I think you want "mysql -p -uuser samp_db".  You have already
created the database, right?

----- Original Message -----
From: "Larry Marshall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 11, 2001 6:41
Subject: Trouble creating user


> Using RedHat 7.0, MySQL-3.23.32.-1
> Logged on with mysql -u root -p, issued GRANT ALL ON samp_db.* TO user
> IDENTIFIED BY "secret";
> When logged onto Linux in the user account, typed mysql -p, resulted in:
>
>    ERROR 1045: Access denied for user: 'user@localhost'  (Using password:
> YES)
>
> If I use the similar format GRANT command, but TO user@localhost, the
result
> is the same. If I try to issue the mysql command without the password
> parameter, the result is the same.
>
> What am I doing wrong? Larry
>
> ---------------------------------------------------------------------
> 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