MySQL Forums
Forum List  »  Newbie

Adding Additional Users to Existing Database
Posted by: Laurel Bowen
Date: June 17, 2005 04:05PM

I am trying to add a new user/password to an existing database, cranber_store with an original user name of cranber_db

I typed at the command line (using my root access):
root@vps [/]# mysql -u cranber_db -password
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 23173 to server version: 4.0.23-standard


mysql> GRANT ALL PRIVILEGES ON *.* TO 'cranberryhollow'@'localhost'
-> IDENTIFIED BY 'chstore01' WITH GRANT OPTION;
ERROR 1045: Access denied for user: 'cranber_db@localhost' (Using password: YES)

When I tried to Grant all privileges to cranber_db, I get the same error (thinking I might have set up the original user name without all privileges).

Options: ReplyQuote


Subject
Written By
Posted
Adding Additional Users to Existing Database
June 17, 2005 04:05PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.