Ja és el n-èssim cop que em passa i sempre haig d'anar al google a buscar-ho i em fa ràbia per no enrecordar-me'n mai. Per recuperar el password de MySQL: `
/etc/init.d/mysql stop
mysqld --skip-grant-tables
mysql -u root
mysql> update mysql.user set password=password('yourpassword') where user='root'; mysql> ^D
killall -15 mysqld
/etc/init.d/mysql start
` Done!
If you liked this post, you can donate using Bitcoin 12jVrWkk5S6x5hEizThZwgTx59KxaDdK4C