MySQL Forums
Forum List  »  General

what's wrong with "update user set authentication_sting = password('MyP0ssward') where user = 'root';"?
Posted by: wu ryan
Date: March 09, 2020 06:37AM

mysql> update user set authentication_sting = password('MyP0ssward') where user = 'root';
ERROR 1064 (42000): 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 '('MyP0ssward') where user = 'root'' at line 1
mysql>

Can someone help to check what's wrong with the update statement? Thanks!

Options: ReplyQuote


Subject
Written By
Posted
what's wrong with "update user set authentication_sting = password('MyP0ssward') where user = 'root';"?
March 09, 2020 06:37AM


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.