Support MariaDB 10.6

Created on 9 July 2021, over 3 years ago
Updated 5 December 2024, 21 days ago

Problem/Motivation

MariaDB 10.6 has just gone GA. There's no reason not to support it, but currently, Drupal 9.2.1 just gives the traditional failure to recognize an installed database. "Drupal already installed". drush crashes.

Steps to reproduce

Install MariaDB 10.6 and try to either install or update or whatever, or load a db and try to access it.

You can experiment with MariaDB 10.6 by using a ddev PR, https://github.com/drud/ddev/pull/3096 and gitpod - use this link: https://gitpod.io/#https://github.com/drud/ddev/pull/3096

When it comes up, use a normal Drupal 9 installation technique,

ddev config --project-type=drupal9 --docroot=web
ddev composer create drupal/recommended-project -y
ddev composer require drush/drush

You can install and create a db at this point if you want, using `ddev drush si -y --account-pass=admin demo_umami`

You may want to dump the database for testing use, `ddev export-db --file=db.sql.gz`

Now change the database version to 10.6, `ddev config --mariadb-version=10.6` and `ddev start`

At this point you can experiment with the operation of 10.6. Use `ddev drush sql-drop -y` to drop the database to force an install; load an existing database with `ddev import-db --src=db.sql.gz (if you saved it earlier)

Proposed resolution

Drupal should
1. Support MariaDB 10.6
2. Give correct or useful information when an unsupported database provider or configuration is encountered

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: outdated

Version

11.0 πŸ”₯

Component

database system

Created by

πŸ‡ΊπŸ‡ΈUnited States rfay Palisade, CO, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024