mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
5 lines
138 B
Text
5 lines
138 B
Text
backup_dir="$1/conf/mysql"
|
|
|
|
service mysql restart
|
|
mysqlpwd=$(sudo cat /etc/yunohost/mysql)
|
|
sudo mysqladmin flush-privileges -p"$mysqlpwd"
|