From cbb0ecf989aadfd4b7a213221fd3df2d4fd9c78f Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Fri, 17 Oct 2014 20:43:35 +0530 Subject: [PATCH] Display DB information when update mysql websites --- src/modules/site/create/ee_mod_setup_wordpress.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/site/create/ee_mod_setup_wordpress.sh b/src/modules/site/create/ee_mod_setup_wordpress.sh index 80547d7c..e91d7a1d 100644 --- a/src/modules/site/create/ee_mod_setup_wordpress.sh +++ b/src/modules/site/create/ee_mod_setup_wordpress.sh @@ -15,6 +15,9 @@ function ee_mod_setup_wordpress() # else current mysql site is to be updated if [ "$EE_DB_NAME" = "" ] && [ "$EE_DB_USER" = "" ] && [ "$EE_DB_PASS" = "" ]; then ee_mod_setup_database + else + # Display when run ee site update mysql.com --wp + echo -e "EE_DB_NAME = $EE_DB_NAME \nEE_DB_USER = $EE_DB_USER \nEE_DB_PASS = $EE_DB_PASS \nEE_MYSQL_HOST = $EE_MYSQL_HOST \nEE_MYSQL_GRANT_HOST = $EE_MYSQL_GRANT_HOST" &>> $EE_COMMAND_LOG fi # Default WordPress prefix or custom prefix