login: root

Tag Archive: gain

Recover mysql root password

It happens quite often, that You need to do something on database, which was installed long long time ago. And nobody remembers the root password. Kinda good practice is to save mysql password in root user directory with a “.” in front of it (hidden), for example .my.cnf Nobody can read root users directory, except root, and anyway, root user can change mysql password at any time, so it’s not an security issue. If all users are able to see root users directory, that is a problem :) Easy steps how to recover mysql root password.

Close
%d bloggers like this: