MySQL Forums
Forum List  »  Newbie

Re: Setting up root password
Posted by: Peter Brawley
Date: December 29, 2011 07:20PM

If you lost track of the password set up by installation, then stop the server, restart it in a command window with ...

<MYSQL_HOME>\bin\mysqld --defaults-file="<MYSQL_HOME>\my.ini" --console –-skip-grant-tables

... where <MYSQL_HOME> is the path to your installation, then follow the steps in "Reset ‘root’ password" at to set the password to something you can remember, test it, stop the server, start it normally.

Options: ReplyQuote

Written By
December 29, 2011 05:57PM
Re: Setting up root password
December 29, 2011 07:20PM

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.