![]() Open a console window to get to the command prompt: ![]() For this example, the file will be named C:\mysql-init.txt. The UPDATE statement resets the password for all existing root accounts, and the FLUSH statement tells the server to reload the grant tables into memory. The UPDATE and FLUSH statements each must be written on a single line. UPDATE er SET Password=PASSWORD('MyNewPass') WHERE User='root' Replace the password with the password that you want to use. Not running as a service, you may need to use the Task Manager to force it to stop.Ĭreate a text file and place the following statements in it. Then find the MySQL service in the list, and stop it. Start Menu -> Control Panel -> Administrative Tools -> Services For a server that is running as a Windows service, go to
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |