From 0ac72f244459e78a00e2a0603e7140440c6263dd Mon Sep 17 00:00:00 2001 From: dyzzyduq Date: Tue, 17 Jun 2025 11:11:07 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20console/config.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- console/config.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/console/config.php b/console/config.php index e0831d1..42c4d4b 100755 --- a/console/config.php +++ b/console/config.php @@ -1,9 +1,9 @@ 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