mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-21 19:01:37 +00:00
* Add missing views for Mariadb * Add missing restore link * adding test to avoid such issues --------- Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
10 lines
227 B
PHP
10 lines
227 B
PHP
if ! sudo mysql -e "DROP USER IF EXISTS '{{ $username }}'@'{{ $host }}'"; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
if ! sudo mysql -e "FLUSH PRIVILEGES"; then
|
|
echo 'VITO_SSH_ERROR' && exit 1
|
|
fi
|
|
|
|
echo "Command executed"
|