mysql reset root password

sudo service mysqld stop
sudo su - mysql
/usr/sbin/mysqld --skip-grant-tables --skip-networking &
mysql -u root
> flush privileges
> SET PASSWORD FOR [email protected]'localhost' = PASSWORD('myn3wpa$$word');
> quit
sudo service mysqld start


You should go to about section on this site.

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.