SyntaxFix
Write A Post
Hire A Developer
Questions
Tried the answer from @kta but didn't work for me.
I am using MySQL 8.0
This worked for me:
mysql> SET PASSWORD FOR 'root'@'localhost' = 'yourpassword'
SET PASSWORD FOR 'root'@'localhost' = 'yourpassword'