MySQL Forums
Forum List  »  Newbie

Invalid syntax
Posted by: Mr. Pie.
Date: March 29, 2005 11:48PM

Hello

I am having trouble changing my password back to OLD_PASSWORD by the following :

mysql> SET PASSWORD FOR
-> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

When I do it, it says
ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'OLD_PASSWORD ('newpwd')' at line 2

If you guys can help me, I would greatly appreciate it...
Thanks!

Options: ReplyQuote


Subject
Written By
Posted
Invalid syntax
March 29, 2005 11:48PM


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.