yiisoft/db-mysql

Check DBMS by connection instead of environment variable

オープン

#446 opened on 2025/11/23

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (20 件のフォーク)auto 404
good first issuetype:test

Repository metrics

Stars
 (43 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド