[wp-trac] [WordPress Trac] #59930: Problems pulling relevant MySQL Docker container

WordPress Trac noreply at wordpress.org
Wed Nov 29 14:34:12 UTC 2023


#59930: Problems pulling relevant MySQL Docker container
------------------------------+---------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.5
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+---------------------

Comment (by desrosj):

 @bernhard-reiter does [attachment:"59930.diff"] also work for you?

 I would be in favor of bumping the default version of MySQL to 8.0, which
 is the latest LTS version. 8.1 and 8.2 support is more complicated. Even
 though they are production-grade releases, they are "innovation releases"
 that are only supported for roughly 1 quarter (~4 months). It's still not
 clear how or if we should support them (see #59779 for more details
 there).

 [attachment:"bump-mysql-to-8-2.diff"] seems good at the surface, but
 doesn't solve the problem. When someone with `arm64` changes the version
 of MySQL being used to 5.7 without knowledge of this issue or a way around
 it, then their environment would show the problem and back to square one.
 It would be great if there were conditional statements supported within
 Docker configuration files, but they only support
 [https://docs.docker.com/compose/compose-file/compose-file-v3/#variable-
 substitution variable substitution]. So in order to dynamically configure
 the right platform (if running `arm64` & DB type is MySQL & version <=
 5.7, use `linux/amd64` instead).

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


More information about the wp-trac mailing list