I wanted to generate a password hash for use in the /etc/shadow file. My local Linux Mint (Ubuntu) Desktop already has mkpasswd available, your distribution may vary.
This prompts for the password and will generate the hash.
On CentOS 7 MariaDB has (quite rightfully IMHO) replaced MySQL in the repositories however this has caused me a few problems. Since MySQL was so widely used there are other things that have MySQL as a requirement/dependency. Mainly my problem was some puppet modules that wanted the mysql-server package installed before they would proceed with… Read more »