SyntaxFix
Write A Post
Hire A Developer
Questions
Work for me in CentOS:
$ service mysql stop $ mysqld --skip-grant-tables & $ mysql -u root mysql mysql> FLUSH PRIVILEGES; mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password'; $ service mysql restart