Password quotes
This commit is contained in:
parent
583c5d5211
commit
6138e2358a
|
@ -530,7 +530,7 @@ function restore_database {
|
||||||
backup_unmount_drive
|
backup_unmount_drive
|
||||||
exit 503
|
exit 503
|
||||||
fi
|
fi
|
||||||
mysqlsuccess=$(mysql -u root --password=$DATABASE_PASSWORD ${1} -o < /root/temp${1}data/${RESTORE_SUBDIR}/temp${1}data/${1}.sql)
|
mysqlsuccess=$(mysql -u root --password="$DATABASE_PASSWORD" ${1} -o < /root/temp${1}data/${RESTORE_SUBDIR}/temp${1}data/${1}.sql)
|
||||||
if [ ! "$?" = "0" ]; then
|
if [ ! "$?" = "0" ]; then
|
||||||
echo "$mysqlsuccess"
|
echo "$mysqlsuccess"
|
||||||
function_check set_user_permissions
|
function_check set_user_permissions
|
||||||
|
|
Loading…
Reference in New Issue