How to reset mysql root password?
问题 I have a little problem with my phpmyadmin, in fact I accidentally delete multiple user accounts. Since it is impossible to connect without the error: # 1045 - Access denied for user \'root\' @ \'localhost\' (using password: NO) I have search a little on the net before, and even the technic: UPDATE mysql.user SET Password = PASSWORD (\'\') WHERE User = \'root\'; FLUSH PRIVILEGES; does not work, or I didn\'t understood how it worked. I\'m on FreeBSD 8.1, my version of PhpMyadmin is 2.11. Thank