|
|
|
|
@ -58,11 +58,11 @@ $ sudo mysql_secure_installation |
|
|
|
|
|
|
|
|
|
# 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" |
|
|
|
|
$ echo "MySQL cms database user zoombox account password is now: $CMSPWD" |
|
|
|
|
|
|
|
|
|
# Lets create a new user account for mysql |
|
|
|
|
$ mysql -u root -p$MROOT |
|
|
|
|
> CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'Enter_the_password_used_by_CMSPWD_in_the_step_above'; |
|
|
|
|
> CREATE USER 'zoombox'@'localhost' IDENTIFIED BY 'Enter_the_password_used_by_CMSPWD_zoombox_in_the_step_above'; |
|
|
|
|
> GRANT ALL ON cms.* TO 'zoombox'@'localhost'; |
|
|
|
|
> create database cms; |
|
|
|
|
> exit |
|
|
|
|
@ -93,7 +93,7 @@ DB_TYPE=mysql |
|
|
|
|
DB_HOST=127.0.0.1 |
|
|
|
|
DB_NAME=cms |
|
|
|
|
DB_USERNAME=zoombox |
|
|
|
|
DB_PASSWORD=Enter_the_password_used_by_MYSQL_CMSPWD_user_account_for_cms_DB |
|
|
|
|
DB_PASSWORD=Enter_the_password_used_by_MYSQL_CMSPWD_user_zoombox_account_for_cms_DB |
|
|
|
|
ADMIN_USERS=zug:SunSet@XQWET,zig:CHANGE_ME_AS_WELL_MAKE_ONE_UP_HERE |
|
|
|
|
``` |
|
|
|
|
(for Nano editor) Press ctrl+x to Save and Exit. Y to save. Enter to the default filename... |
|
|
|
|
|