From 3ba714d8b22758a352d8af79607782737b0b2894 Mon Sep 17 00:00:00 2001 From: dyzzyduq Date: Tue, 17 Jun 2025 11:12:03 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20console/new/config.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- console/new/config.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/console/new/config.php b/console/new/config.php index 33e3855..4b5eed1 100755 --- a/console/new/config.php +++ b/console/new/config.php @@ -1,18 +1,23 @@ connect_error) { die("数据库连接失败: " . $conn->connect_error); } +$host = 'localhost'; +$dbname = 'easyauth'; +$username = 'ccs'; +$password = 'ccsdatabase'; +$easyauthConn = new mysqli($host, $username, $password, $dbname); -// 设置字符集为 utf8mb4(支持中文) $conn->set_charset("utf8mb4"); ?> \ No newline at end of file