MySQL Forums
Forum List  »  Newbie

ALTER USER SYNTAX
Posted by: Sansrati Mathur
Date: February 08, 2008 12:32AM

I have created a user and grant him all the privileges by using this
CREATE USER user_name IDENTIFIED BY 'pass';
GRANT ALL ON *.* TO user_name;
OR we can use this command to perform both the task at one shot:
GRANT ALL PRIVILEGES ON *.* TO monty@"%"
IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
But now I want to alter that user for that I tried this:
ALTER USER user_name IDENTIFIED BY 'pass';
and
ALTER USER user_name SET PASSWORD 'pass';
but this is giving syntax error.
Can anybody help me plz??
Hope to see some suggesstions....
Cheers...........

Options: ReplyQuote


Subject
Written By
Posted
ALTER USER SYNTAX
February 08, 2008 12:32AM
February 08, 2008 02:38AM
February 08, 2008 03:26AM
February 08, 2008 11:12AM
August 28, 2008 06:42AM


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.