MySQL Forums
Forum List  »  Install & Repo

Re: Reset MySQL root password
Posted by: Barry Galbraith
Date: May 25, 2012 07:39PM

>1) UPDATE mysql.user SET Password=PASSWORD('newpd') WHERE User='root';
FLUSH PRIVILEGES;


Eh!?
How did you do that if you can't login?

>C:\mysql\bin>mysql -u -passord -p

You've made a mess with the commandline arguments.

Try
C:\mysql\bin>mysql -uroot -p

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
April 01, 2012 03:58PM
April 01, 2012 09:46PM
Re: Reset MySQL root password
May 25, 2012 07:39PM


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.