Browse Source

Logs Mysql host and client host value

old-stable
Mitesh Shah 11 years ago
parent
commit
96b716b929
  1. 2
      src/modules/site/create/ee_mod_setup_database.sh

2
src/modules/site/create/ee_mod_setup_database.sh

@ -51,7 +51,7 @@ function ee_mod_setup_database()
fi
# Create MySQL database
echo -e "EE_DB_NAME = $EE_DB_NAME \nEE_DB_USER = $EE_DB_USER \nEE_DB_PASS = $EE_DB_PASS" &>> $EE_COMMAND_LOG
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_CLIENT_HOST = $EE_MYSQL_CLIENT_HOST" &>> $EE_COMMAND_LOG
mysql -e "create database \`$EE_DB_NAME\`" \
|| ee_lib_error "Unable to create $EE_DB_NAME database, exit status = " $?

Loading…
Cancel
Save