Closed kaszarobert closed 7 months ago
Thanks for bringing this up @kaszarobert! This looks like a great contributor issue. Right now the db-export/import commands are managed from scripts in lando/core
, ex: https://github.com/lando/core/blob/main/scripts/sql-export.sh
We'd probably just need to add an additional condition for Mariadb (like we do for Postgres). I think this is a problem restricted to Lando v3, but even though the changes will be to lando/core
, we'll want to test this out in the examples
directory in this project (lando/mariadb
).
If you force Lando to use image
bitnami/mariadb:11.0.5-debian-12-r5
for database service, runninglando db-export
andlando db-import
shows this on CLI:It runs fine right now, you just meet with deprecation messages. But in the future it could no longer work for MariaDB, so we need a way to switch to '/opt/bitnami/mariadb/bin/mariadb-dump' instead for MariaDB 11+.