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 GitHub
parent 3124f8c795
commit 65898b0ee6
10 changed files with 10 additions and 10 deletions

View File

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