diff --git a/scripts/restore b/scripts/restore index e554ba8..9c33a55 100644 --- a/scripts/restore +++ b/scripts/restore @@ -65,6 +65,8 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" if [ $with_mysql -eq 1 ]; then ynh_script_progression --message="Restoring the MySQL database..." + + ynh_install_app_dependencies "php${phpversion}-mysql" db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) ynh_mysql_setup_db --db_user=$db_name --db_name=$db_name --db_pwd=$db_pwd