diff --git a/install/index.php b/install/index.php index b927893..39d6f71 100644 --- a/install/index.php +++ b/install/index.php @@ -63,6 +63,7 @@ function install() { $password = password_hash(md5($password), PASSWORD_BCRYPT); $conn = mysqli_connect($db_host, $db_user, $db_pass, "", $db_port) or die(""); mysqli_select_db($conn, $db_name) or die(""); + mysqli_query($conn, "set names 'utf8mb4'"); mysqli_query($conn, "SET FOREIGN_KEY_CHECKS=0;") or die(""); mysqli_query($conn, "CREATE TABLE `daemon` ( `id` int(8) NOT NULL AUTO_INCREMENT,