File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2929 XDB_EXPORT=" > $XDB_EXPORT_FILE "
3030fi
3131
32+ DB_PASSWORD=$( echo -n $DB_PASSWORD | sed ' s/"/\\"/g' )
33+
3234CMD=" \
3335--protocol=$XDB_PROTO \
3436--host=$XDB_HOST \
3537--port=$XDB_PORT \
3638--default-character-set=$XDB_DEFAULT_CHARACTER_SET \
3739--user=$DB_USERNAME \
38- --password=\" $DB_PASSWORD \" \
40+ --password=" \" $DB_PASSWORD " \" \
3941$DB_ARGS $DB_NAME $XDB_EXPORT "
4042
4143echo " Alpine / MySQL Client - Exporter"
Original file line number Diff line number Diff line change 3030 XDB_IMPORT_FILE=" < $XDB_IMPORT_FILE "
3131fi
3232
33+ DB_PASSWORD=$( echo -n $DB_PASSWORD | sed ' s/"/\\"/g' )
34+
3335CMD=" \
3436--protocol=$XDB_PROTO \
3537--host=$XDB_HOST \
3638--port=$XDB_PORT \
3739--default-character-set=$XDB_DEFAULT_CHARACTER_SET \
3840--user=$DB_USERNAME \
39- --password=\" $DB_PASSWORD \" \
41+ --password=" \" $DB_PASSWORD " \" \
4042$DB_ARGS $DB_NAME $XDB_IMPORT_FILE "
4143
4244echo " Alpine / MySQL Client - Importer"
You can’t perform that action at this time.
0 commit comments