[enh] Disable restore of all mysql, it will be done by apps

This commit is contained in:
zamentur 2015-09-30 22:27:36 +02:00
parent c8c15f291b
commit c1e97a17d3

View file

@ -1,5 +1,5 @@
backup_dir="$1/mysql"
mysqlpwd=$(sudo cat /etc/yunohost/mysql)
sudo mysql -uroot -p"$mysqlpwd" mysql < $backup_dir/mysql.sql
#sudo mysql -uroot -p"$mysqlpwd" mysql < $backup_dir/mysql.sql
sudo mysqladmin flush-privileges -p"$mysqlpwd"