WordPress.org

Make WordPress Core

Opened 3 weeks ago

Last modified 3 weeks ago

#51744 new enhancement

Allow MariaDB to be used with the local Docker environment

Reported by: desrosj Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch needs-testing
Focuses: Cc:

Description

MariaDB Docker images are available in the Docker Hub, and seems that they can be easily substituted for the MySQL ones that the local Docker environment currently uses.

This would unblock #30462, which aims to test multiple database types/versions (though Travis made this really difficult.

Attachments (2)

51744.diff (785 bytes) - added by desrosj 3 weeks ago.
image.png (16.5 KB) - added by davidbaumwald 3 weeks ago.
Test with mariadb

Download all attachments as: .zip

Change History (3)

@desrosj
3 weeks ago

#1 @desrosj
3 weeks ago

  • Keywords needs-testing added

51744.diff is a proof of concept that introduces LOCAL_DB_TYPE and accepts mysql or mariadb.

LOCAL_MYSQL is now a bit too specific, but if it is renamed (maybe to LOCAL_DB_VERSION), there should probably be a check that copies the value to the new one.

@davidbaumwald
3 weeks ago

Test with mariadb

Note: See TracTickets for help on using tickets.