From 14abf16e4b6e92a14ecf48b8509d736279cd9c27 Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Thu, 25 Jul 2024 17:07:36 -0300 Subject: [PATCH] Update --- install/mysqlRestore.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install/mysqlRestore.php b/install/mysqlRestore.php index 939c25794246..7fa26a6c3230 100644 --- a/install/mysqlRestore.php +++ b/install/mysqlRestore.php @@ -6,6 +6,7 @@ require_once __DIR__.'/../videos/configuration.php'; $global['mysqli'] = new mysqli($mysqlHost, $mysqlUser, $mysqlPass, '', @$mysqlPort); +$createSQL = "DROP DATABASE {$mysqlDatabase};"; $createSQL = "CREATE DATABASE IF NOT EXISTS {$mysqlDatabase};"; $global['mysqli']->query($createSQL); $global['mysqli']->select_db($mysqlDatabase);