Change MySQL root password


1. use command line by going to the Start Menu > Run and typing cmd
2. change your directory to wherever you installed mysql to:
C:\> cd C:\mysql\bin
3. open mysql command line:
C:\mysql\bin> mysql -u root mysql
4. reset a new password:
mysql> SET PASSWORD FOR root@localhost=PASSWORD(‘pandazen’);
where “pandazen” is the new password you want to use

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: