yiisoft/db-mysql
View on GitHubCheck DBMS by connection instead of environment variable
Open
#446 opened on Nov 23, 2025
good first issuetype:test
Repository metrics
- Stars
- (43 stars)
- PR merge metrics
- (PR metrics pending)
Description
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.