MySQL Forums
Forum List  »  Newbie

Resetting the Root Password on Windows
Posted by: Daniel Stolzberg
Date: March 03, 2009 01:23AM

Hello,

I am trying to reset my root password (because I forgot it!). I have followed the instructions in the manual for this (http://dev.mysql.com/doc/refman/5.1/en/resetting-permissions.html) but I keep getting the following error:


C:\>"C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld.exe" --defaults-file="C:
\Program Files\MySQL\MySQL Server 5.1\my.ini" --init-file=C:\mysql-init.txt --co
nsole
090303 2:17:06 InnoDB: Started; log sequence number 0 46409
090303 2:17:06 [ERROR] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld.exe:
File 'C:\mysql-init.txt' not found (Errcode: 2)
090303 2:17:06 [ERROR] Aborting

090303 2:17:06 InnoDB: Starting shutdown...
090303 2:17:08 InnoDB: Shutdown completed; log sequence number 0 46409
090303 2:17:08 [Warning] Forcing shutdown of 1 plugins
090303 2:17:08 [Note] C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld.exe: S
hutdown complete

The MySQL service was stopped before running this command. I can assure you that there is a file 'C:\mysql-init.txt' with the text described in the manual. Any idea what's going on?!

Thanks in advance.

-Dan

Options: ReplyQuote


Subject
Written By
Posted
Resetting the Root Password on Windows
March 03, 2009 01:23AM


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.