# The following script will prompt you to perform various security-related actions. Follow the prompts to set a root password, remove anonymous users, disallow root login remotely, remove the test database, and reload the privilege tables.
$ sudo mysql_secure_installation
# Change this password SJ6G*WyaV7PvvEts@vxjm used below in a couple of places throughout this tutorial!
# Lets make a secure password for use with MySQL user account EX zoombox.
$ CMSPWD=$(openssl rand -base64 18)
$ echo "MySQL cms database user account password is now: $CMSPWD"
# Lets create a new user account for mysql
$ mysql -u root -p$MROOT
> CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'SJ6G*WyaV7PvvEts@vxjm';
> CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'Enter_the_password_used_by_CMSPWD_in_the_step_above';