Skip to content

Commit

Permalink
openshift: no mysql identities to import
Browse files Browse the repository at this point in the history
  • Loading branch information
b23prodtm committed Dec 2, 2018
1 parent 6dde665 commit 023641e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrate-database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if [[ -f $identities ]]; then source ./Scripts/cp_bkp_old.sh . $identities ${ide
# configure user application database and eventually alter user database access
[ -z $dbfile ] && [ $fix_socket == "-N" ] && [ -f app/Config/database.php ] || config_app_checked="-Y"
shell_prompt "./Scripts/config_app_database.sh ${dbfile} ${fix_socket}" "${cyan}Setup ${dbfile} connection and socket\n${nc}" $config_app_checked
if [ $import_identities > /dev/null ]; then
if [[ (! $openshift > /dev/null) && ($import_identities > /dev/null) ]]; then
echo -e "Importing the mysql ${cyan}${DATABASE_USER}${nc} and ${cyan}${TEST_DATABASE_USER}${nc} users SQL identities..."
echo -e "\r${red}WARNING: You will modify SQL ${DATABASE_USER} password !${nc}" &&
parse_sql_password "$new_pass" "set_DATABASE_PASSWORD" "new ${DATABASE_USER}" &&
Expand Down

0 comments on commit 023641e

Please sign in to comment.