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:
parent
a7a8b15e1d
commit
235217d145
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue