-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Related to lando/mariadb#55
Database dumps produced by recent versions of mariadb contain a new enable sandbox mode command that cannot be processed by older versions of the mariadb client. This is fine for lando db-import because that script is run using the database container which will have the most recent patch version of mariadb client. However, when running scripts or commands such as drush in the PHP container, the version that ships with the PHP container is used. Currently, that's 10.5.23, which is the latest stable version from the debian 11 package repo. We need 10.5.25 to get support for new database dumps.
Bumping to debian 12 in #119 will take us up to 10.11.6, but support for the new command was added in 10.11.8.
So, if we want to allow drush or other scripts in the PHP container to work with data from up-to-date mariadb servers, we need to depart from the debian stable repo for installing mariadb client. I think it's fair for users to expect this to work and I think Lando should handle it.
I think we should install mariadb client package 10.11.8 (or latest patch version that matches each PHP image) directly from the mariadb repo during the image build.