Proposal to Create a MariaDB Alias for the MySQL PDO Driver

From: Date: Tue, 30 Apr 2024 16:50:49 +0000
Subject: Proposal to Create a MariaDB Alias for the MySQL PDO Driver
Groups: php.internals 
Request: Send a blank email to internals+get-123239@lists.php.net to get a copy of this message
Hello, I'm splitting this discussion from https://externals.io/message/123183, see details at https://externals.io/message/123183#123234 and https://externals.io/message/123183#123236 to keep the original thread clean. There's a clear divergence in functionality between MySQL and MariaDB. As PDO evolves to accommodate database-specific drivers, it's sensible to introduce a MariaDB alias for the MySQL driver. Although the mysqlnd library handles networking protocols for both, practical higher level usage increasingly demands differentiation at the database layer, much like Doctrine's recent updates requiring distinct identification of MariaDB vs. MySQL. I propose establishing a MariaDB namespace. This would allow for explicit implementation of database-specific functions and help in correctly mapping methods and queries to the respective database. Thoughts? Questions? -- Arvīds Godjuks +371 26 851 664 arvids.godjuks@gmail.com Telegram: @psihius https://t.me/psihius

« previous php.internals (#123239) next »