Re: Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver

From: Date: Tue, 30 Apr 2024 21:33:39 +0000
Subject: Re: Re: Proposal to Create a MariaDB Alias for the MySQL PDO Driver
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-123244@lists.php.net to get a copy of this message
I see absolutely no reason to do this. There is no difference between MySQL and MariaDB in terms of PDO. Sure, the actual RDBMSs have differences, but they play no role when it comes to PDO. If MariaDB decides to change the protocol some day then we would need a new driver to replace mysqlnd. Only then it would make sense to have PDO_mariadb extension. But that is unlikely to happen any time soon. The purpose of PDO subclasses is to offer driver specific functionality and differentiate SQL syntax flavours. MariaDB and MySQL use the same driver so they offer the same functionality and they use the same SQL syntax (at least the parts that matter). And we must remember that MariaDB is not the only MySQL-like DB out there. We are not going to create a name alias for every possible fork of MySQL that ever exists. It would be pointless.

« previous php.internals (#123244) next »