mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Merge pull request #98 from zamentur/unstable
[enh] Disable restore of all mysql, it will be done by apps
This commit is contained in:
commit
94a2b3ccf2
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
backup_dir="$1/mysql"
|
backup_dir="$1/mysql"
|
||||||
|
|
||||||
mysqlpwd=$(sudo cat /etc/yunohost/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"
|
sudo mysqladmin flush-privileges -p"$mysqlpwd"
|
||||||
|
|
Loading…
Add table
Reference in a new issue