Commit cdf1460
committed
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 MariaDB1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
367 | 370 | | |
368 | 371 | | |
369 | 372 | | |
| |||
0 commit comments