Join GitHub today
Provide mariadb 10.1 and 10.2, fixes #1221 #1318
It turns out TYPO3 v8 and earlier require Mariadb 10.1 and can't function with 10.2. This PR provides explicit 10.1 support.
The first attempt at this was #1222, which tried it using library/mariadb, but that made images that were twice as big and swich to debian base image. Too much change for too little value. This one maintains two almost identical images.
How this PR Solves The Problem:
Manual Testing Instructions:
To test out the mariadb 10.1 db, please:
Automated Testing Overview:
Related Issue Link(s):
referenced this pull request
Dec 3, 2018
I didn't mean to put so much effort into this, but am pretty happy with the end result. It even has error checking on wrong-db-version and wrong-snapshot type. Even though the audience is probably small, they'll appreciate it. And we have enough test coverage for it I think. And if we're forced to add another type, the model is at least in place.
left a comment
Switching MariaDB versions through config.yaml was successful for 10.1 and 10.2 as reported by
With a project/database created using ddev v1.4.0 (MariaDB 10.2), downgrading to MariaDB 10.1 caused
Exporting the database (