Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jul 25, 2024
1 parent be2e7dc commit 14abf16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/mysqlRestore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 14abf16

Please sign in to comment.