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