MySQL Forums
Forum List  »  MySQL Workbench

Re: Carlos
Posted by: Shane Bester
Date: August 16, 2014 04:52AM

You can reset password by starting mysqld with --skip-grant-tables option.
Then login as run:

----
flush privileges;
select user,host,password from mysql.user where user='root';
update mysql.user set password=password('newpassword') where user='root';
----

then restart mysqld without the --skip-grant-tables option and login as root.


http://dev.mysql.com/doc/refman/5.6/en/resetting-permissions.html

Options: ReplyQuote


Subject
Views
Written By
Posted
966
August 13, 2014 02:36PM
Re: Carlos
427
August 16, 2014 04:52AM


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.