1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/friendica_ynh.git synced 2024-09-03 18:36:14 +02:00

restore db fix 2nd try

This commit is contained in:
Anmol 2017-07-21 15:11:40 +05:30
parent a7a8b15e1d
commit 235217d145

View file

@ -52,7 +52,7 @@ ynh_restore_file "/etc/nginx/conf.d/$domain.d/$app.conf"
# RESTORE THE MYSQL DATABASE
#=================================================
ynh_mysql_setup_db $db_name $db_name $db_pwd
ynh_mysql_connect_as $db_name $db_pwd $db_name < db.sql
mysql --debug-check -u $db_user -p$db_pwd $db_user < ./db.sql
#=================================================
# RESTORE THE APP MAIN DIR