ColdAsYou165

Results 1 issues of ColdAsYou165

# 描述 在非 MySQL 默认端口(如 3307)环境下,执行 install.php 时会提示「数据连接失败,请仔细检查 inc/config.inc.php 的配置」,但 config.inc.php 中已正确配置 DBPORT 参数(如 define('DBPORT', '3307'))。 经排查,问题根源是 install.php 的数据库连接逻辑未使用配置文件中定义的 DBPORT 参数,导致 mysqli_connect() 函数默认使用 MySQL 原生端口 3306,与实际配置的端口不匹配,最终连接失败。 # 复现步骤 修改 MySQL...