This is vastly OT but hey, it happened to me just this month! It IS in the docs:
If you have forgotten the root user password for MySQL, you can restore it with the following procedure:
kill `cat /mysql-data-directory/hostname.pid`
Note that after you started mysqld with --skip-grant-tables, any usage of GRANT commands will give you an Unknown command error until you have executed FLUSH PRIVILEGES.
In reply to Re: Setting MySQL root password
by mirod
in thread Setting MySQL root password
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |