Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

The MySQL/MariaDB driver that's included in Drupal 11 core requires MySQL 8.0+ or MariaDB 10.6+.

This module lets you install and use Drupal 11 on MySQL 5.7.8+ and MariaDB 10.3.7+, which match Drupal 10's requirements. This makes it easier for people to upgrade from Drupal 10 to Drupal 11, even if you don't yet have access to the higher MySQL or MariaDB versions. If you do have access to the higher MySQL or MariaDB versions, it is recommended that you upgrade to that instead of using this module.

Instructions

1. Installation

composer require drupal/mysql57

2. Configuration

2.a Without a pre-existing settings.php file

If you are installing Drupal from scratch, without a pre-existing settings.php file, and allowing the installer to write the settings.php file for you, then just follow the installer's instructions, and it will write out settings.php with the information that's needed.

2.b With a pre-existing settings.php file

If you already have a settings.php file, then this driver's information needs to be defined in your database settings. Add the following to your settings.php file:

require DRUPAL_ROOT . '/modules/contrib/mysql57/settings.inc';
  • If your settings.php file defines the $databases variable, then add the above line after that definition.
  • If your settings.php file includes a require line that loads a hosting platform file that opens your database connection, then add the above line before that hosting platform require line.

3. Enable the module

Enable this module via /admin/modules.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
May 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
1.0.0 Stable Aug 2, 2024
1.0.0-rc1 Pre-release Jul 3, 2024
1.0.0-beta4 Pre-release Jun 11, 2024
1.0.0-beta3 Pre-release Jun 11, 2024
1.0.0-beta2 Pre-release Jun 5, 2024
1.0.0-beta1 Pre-release Jun 5, 2024
1.0.0-alpha2 Pre-release May 15, 2024
1.0.0-alpha1 Pre-release May 13, 2024
1.0.x-dev Dev May 13, 2024