You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #9547 Add a note about correct cfg value server_version for MariaDB (tristanbes)
This PR was squashed before being merged into the 2.7 branch (closes#9547).
Discussion
----------
Add a note about correct cfg value server_version for MariaDB
Because when using a MariaDB database, you should prefix the `server_version` with `mariadb-`otherwise doctrine/dbal is not able to recognize it and use `MySQL57Platform` which results in:
- possible bugs
- endless schema diff generation
Because this feature/bug is not documented, it is time to do it properly 📦 👍
* Discussion on doctrine/dbal#2985 (comment)
* Also, why it should be prefixed when using `MariaDB`: https://github.com/doctrine/dbal/blob/f76bf5ef631cec551a86c2291fc749534febebf1/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php#L135
Commits
-------
e6a9c1d Add a note about correct cfg value server_version for MariaDB
0 commit comments