yiisoft/db-mysql
Check DBMS by connection instead of environment variable
Offen
#446 geöffnet am 23.11.2025
good first issuetype:test
Repository-Metriken
- Stars
- (43 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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.