Posts Tagged ‘user.myd’

Three ways to recover a root user password: The order of solutions here under gets more creative on the way down :) 1. obviously, before starting messing around check my.cnf or scripts for passwords entries, then try home directories for password files 2. secondly – can you restart mysql? if yes, restart with –skip-grant-tables, log [...]

Disclaimer: This post is for educational purposes only and no responsibility will be taken if you execute any of the commands. You mess it, you fix it! Replacing a password for a user on MySQL can be done in at least four ways. Three ways at least. 1. set password for ‘user’@’host’=password(‘abc’); 2. grant usage [...]