Resetting the MySQL root password
By jeltsch on Thu, 04/05/2007 - 22:05If you have forgotten your MySQL root password, you can reset it if you have physical access to the machine mysql is running on:
If you have forgotten your MySQL root password, you can reset it if you have physical access to the machine mysql is running on:
I recently bought a pdf book. It was password-protected (40bit security). Unfortunately some of the PDF viewers on Linux cannot open password-protected pdf files. So I decided that I can remove the password protection for private use.
A quick lock at the web showed two very easy methods of password removal:
Macs don't have a BIOS. They have something called Open Firmware instead. So the BIOS password is called Open Firmware password. You boot into Open Firmware by pressing the command (=apple), option, O and F keys simultaneously during system boot. To set the password type password
To enable the protection type setenv security-mode full
An then reboot by typing reset-all
Apart from the full security mode you can also set "none" (= don't ask password during boot) and "command" (=gives you only limited access to Open Firmware without the password.