yiisoft/db-mysql

Check DBMS by connection instead of environment variable

Ouverte

#446 ouverte le 23 nov. 2025

 (0 commentaire) (0 réaction) (0 personne assignée)PHP (20 forks)auto 404
good first issuetype:test

Métriques du dépôt

Stars
 (43 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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.

Guide contributeur