lando / mariadb

The Official MariaDB Lando Plugin
https://docs.lando.dev/mariadb
GNU General Public License v3.0
0 stars 6 forks source link

Bump all MariaDB versions to latest #55

Closed todeveni closed 1 month ago

todeveni commented 1 month ago

To fix incompatibilities with dump files, we should upgrade all (supported) MariaDB versions to latest. It seems that Bitnami is offering newer MariaDB versions only in debian12 flavour, but this shouldn't be a problem?

This is a problem when generating a dump in production, running latest LTS version of MariaDB, and trying to import it in Lando.

Importing /app/db.sql...
ERROR at line 1: Unknown command '\-'.
Import failed.

Sure we can fix this running sed -i '1{/999999.*sandbox/d}' db.sql locally before running /helpers/sql-import.sh, but preferably this should work out of the box.