[TYPO3-core] MySQL to MySQLi: The "small change" way
loek at netcoop.nl
Mon Mar 25 23:03:23 CET 2013
On 25-03-13 20:00, Stefan Neufeind wrote:
Ladies (don't forget them, they exist) ;-) and Gentleman,
Good point, fully support it. But just to get things clear, do you see this as
an intermediary solution before moving to something like Doctrine, or as a way
to improve the db-connections for a longer time in the future?
In the latter case, wouldn't PHP-PDO be a more powerful solution? (which could
maybe replace parts of DBAL).
> We've discussed a few times that it might in the short run be useful to
> migrate from MySQL to MySQLi, especially since the PHP-versions we
> meanwhile require ship MySQLi anyway and some might decide to drop MySQL
> in a not too distant future.
> It was suggested, and I fully agree, that a clean solution allowing
> multiple database-connection, maybe abstraction with the DBAL-relevant
> part of Doctrine would be great to have. And I'll be happy to also work
> on that - maybe/hopefully for 6.2 then.
> (But that's a separate discussion I won't want to start here.)
> I've given it a quick try how much is needed to turn DatabaseConnection
> into using MySQLi, as a short-stop solution. And the change seems
> actually reasonably small imho. See https://review.typo3.org/19280
> This has not yet been checked in connection with DBAL or the like or
> with a fresh intropackage-install without an existing DB. But that
> should require only minimum adjustments here or there.
> It would be great if some core-devs could make up their mind about it.
> And if you don't want it for 6.1, I hope somebody will start working on
> the "big solution" for 6.2 then.
> But I see this "small" change as a first step to "raise the bar" with
> 6.1 to now require MySQLi - with a not too large change codewise.
> Kind regards,
More information about the TYPO3-team-core