Recover MySQL root password

Ever tried losing your MySQL root password, because you’re an idiot or a coworker changed it without documenting or telling? Well, within 10 minutes this can be fixed. This guide applies to Debian and probably others too. su – to root and perform the following. 1. Stop MySQL /etc/init.d/mysql stop 2. Start MySQL and skip… Continue reading Recover MySQL root password

Categorized as Random