Fix mysqldump backup error

This reverts commit 564b97e2aa.
This commit is contained in:
Saeed Vaziry
2025-05-21 20:57:38 +02:00
committed by Saeed Vaziry
parent a40c2828c2
commit a5ce0d33b3
10 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
if ! sudo mariadb -e "GRANT ALL PRIVILEGES ON \`{{ $database }}\`.* TO '{{ $username }}'@'{{ $host }}'"; then
if ! sudo mariadb -e "GRANT ALL PRIVILEGES ON {{ $database }}.* TO '{{ $username }}'@'{{ $host }}'"; then
echo 'VITO_SSH_ERROR' && exit 1
fi