更新 console/config.php
This commit is contained in:
parent
6493edc517
commit
41ca1ea394
@ -7,6 +7,7 @@ $password = ''; // 数据库密码(你提供的密码)
|
|||||||
|
|
||||||
// 创建数据库连接
|
// 创建数据库连接
|
||||||
$conn = new mysqli($host, $username, $password, $dbname);
|
$conn = new mysqli($host, $username, $password, $dbname);
|
||||||
|
$easyauthConn = new mysqli($host, $username, $password, $dbname);
|
||||||
|
|
||||||
// 检查连接是否成功
|
// 检查连接是否成功
|
||||||
if ($conn->connect_error) {
|
if ($conn->connect_error) {
|
||||||
@ -19,4 +20,5 @@ $password = 'ccsdatabase';
|
|||||||
$easyauthConn = new mysqli($host, $username, $password, $dbname);
|
$easyauthConn = new mysqli($host, $username, $password, $dbname);
|
||||||
|
|
||||||
$conn->set_charset("utf8mb4");
|
$conn->set_charset("utf8mb4");
|
||||||
|
?>
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user