问题修复
Signed-off-by: vilson <545522390@qq.com>
This commit is contained in:
parent
5293154af4
commit
4a268d1c13
@ -112,7 +112,7 @@ class Index extends BasicApi
|
||||
$sql = str_replace("`pms_", "`{$mysqlPrefix}", $sql);
|
||||
$pdo = new PDO("mysql:host={$mysqlHostname};port={$mysqlHostport}", $mysqlUsername, $mysqlPassword, array(
|
||||
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
|
||||
PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8mb"
|
||||
PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8mb4"
|
||||
));
|
||||
|
||||
//检测是否支持innodb存储引擎
|
||||
|
Loading…
x
Reference in New Issue
Block a user