1. Stop your MySQL server completely. This can be done by accessing the Services window inside Windows XP and Windows Server 2003, where you can stop the MySQL service. 2. Open your MS-DOS command prompt using "cmd" inside the Run window. Inside it navigate to your MySQL bin folder, such as C:\MySQL\bin using the cd command. 3. Execute the following command in the command prompt: mysqld.exe -u root --skip-grant-tables 4. Leave the current MS-DOS command prompt as it is, and open a new MS-DOS command prompt window. 5. Navigate to your MySQL bin folder, such as C:\MySQL\bin using the cd command. 6. Enter "mysql" and press enter. 7. You should now have the MySQL command prompt working. Type "use mysql;" so that we switch to the "mysql" database. 8. Execute the following command to update the password: UPDATE user SET Password = PASSWORD('NEW_PASSWORD') WHERE User = 'root'; However, you can now run any SQL command t...
With over 15 years as a full-stack developer, I excel in PHP, Java, and Bootstrap, serving 5000+ clients on Fiverr and Upwork. I've developed 6000+ websites, CRMs, and plugins, specializing in WordPress and OpenCart. My focus includes user-centric design, SEO, transparent pricing, and meeting deadlines. I also offer technical consulting, hosting advice, and troubleshooting. Check my Fiverr profile at fiverr.com/lalityadavswd1, or contact me on Skype: lalit.yadavswd.