[wp-trac] [WordPress Trac] #51744: Allow MariaDB to be used with the local Docker environment

WordPress Trac noreply at wordpress.org
Fri Dec 18 15:27:48 UTC 2020


#51744: Allow MariaDB to be used with the local Docker environment
------------------------------+----------------------
 Reporter:  desrosj           |       Owner:  desrosj
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * owner:  (none) => desrosj
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49836" 49836]:
 {{{
 #!CommitTicketReference repository="" revision="49836"
 Build/Test Tools: Support the use of MariaDB in the local Docker
 environment.

 In addition to MySQL, WordPress also supports MariaDB for databases. This
 makes changes to the local Docker environment to allow MariaDB to be used
 instead, if desired.

 The `LOCAL_DB_TYPE` environment variable will now be used to determine
 which type of database container to use. This will default to `mysql`, but
 will also accept `mariadb`.

 The `LOCAL_MYSQL` environment variable (which previously held the version
 of MySQL to use) has been replaced with the new, more generic
 `LOCAL_DB_VERSION` environment variable.

 This change will make it possible to perform automated testing on a wider
 array of supported database types and versions.

 Props davidbaumwald.
 Fixes #51744. See #30462.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51744#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list