import directus db 11
This commit is contained in:
parent
e4717d6433
commit
5c88a81e5d
|
@ -283,8 +283,7 @@ if [[ "$answer" == "y" ]]; then
|
||||||
LOAD_DIRECTUS_DB=$(expect -c "
|
LOAD_DIRECTUS_DB=$(expect -c "
|
||||||
spawn mariadb -u directus -p directus < $sql_dump
|
spawn mariadb -u directus -p directus < $sql_dump
|
||||||
expect \"Enter password:\"
|
expect \"Enter password:\"
|
||||||
send ${db_directus_password}\r
|
send \"$db_directus_password\r\"
|
||||||
expect eof
|
|
||||||
")
|
")
|
||||||
echo "${LOAD_DIRECTUS_DB}" >& /dev/null
|
echo "${LOAD_DIRECTUS_DB}" >& /dev/null
|
||||||
rm $sql_dump
|
rm $sql_dump
|
||||||
|
|
Loading…
Reference in New Issue