SyntaxFix
Write A Post
Hire A Developer
Questions
As of MySQL 8.0.18 This works fine for me
mysql> SET PASSWORD FOR 'user'@'localhost' = 'userpassword';