Sysadmin life hack: check /root/.mysql_history for the initial root password update before going through the whole "start server with --skip-grant-tables --skip-networking" song and dance.

Security advice: clear your various ~/.*history files every now and again. Especially after you do something sensitive. (Inb4 OpenBSD users are all "or just don't use shells that store history")

0

If you have a fediverse account, you can quote this note from your own instance. Search https://bitbang.social/users/overeducatedredneck/statuses/115885980087004031 on your instance and quote it. (Note that quoting is not supported in Mastodon.)