yiisoft/db-mysql

Check DBMS by connection instead of environment variable

Aperta

#446 aperta il 23 nov 2025

 (0 commenti) (0 reazioni) (0 assegnatari)PHP (20 fork)auto 404
good first issuetype:test

Metriche repository

Star
 (43 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor