Reset Mysql Root Password Script
Lost (forgotten) your mysql root / admin password? Not to worry, it happens to the best of us.
This simple BASH password reset script will enable you to reset any mysql user password without knowing the current password
I would not recommend running it on a live production system as it requires shutting down the mysql server.
Heres the script:, it needs to be run as root.
# Kill any mysql processes currently running
echo Continue reading