yiisoft/db-mysql

Check DBMS by connection instead of environment variable

开放

#446 创建于 2025年11月23日

 (0 条评论) (0 个反应) (0 位负责人)PHP (20 个派生)auto 404
good first issuetype:test

仓库指标

星标
 (43 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Currently we use environment variable YII_MYSQL_TYPE to check DBMS type (MySQL or MariaDB). Instead of relying on the environment variable, we can query the DBMS directly to determine the type, and then cache the result in TestConnection.

贡献者指南