yiisoft/db-mysql

Check DBMS by connection instead of environment variable

Aberta

#446 aberto em 23 de nov. de 2025

 (0 comentário) (0 reação) (0 responsável)PHP (20 forks)auto 404
good first issuetype:test

Métricas do repositório

Stars
 (43 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador