Lapas

ceturtdiena, 2020. gada 3. septembris

Reset MySQL root password on Windows



Stop MySQL service
Give user full access to /data folder

Command line:
mysqld --skip-grant-tables
mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD('new_password') where USER='root'; 
mysql> FLUSH PRIVILEGES;

Nav komentāru:

Ierakstīt komentāru