Skip to content

bug: MariaDB SSL compatibility issue prevents WordPress 6.8 tests from running #3409

@jasonbahl

Description

@jasonbahl

Description

WordPress 6.8 seems to introduce newer MySQL client tools that require SSL by default, causing the WPGraphQL Docker test environment to fail during database operations. The MariaDB container configuration doesn't seem to properly handle these SSL requirements, resulting in test failures across all PHP versions when testing with WordPress 6.8.

This is preventing the GitHub testing integration workflow from successfully running when using WordPress 6.8m and blocks local development testing with the latest WordPress version.

Steps to reproduce

This issue can be reproduced in the WPGraphQL repository itself when running the test suite with WordPress 6.8:

# Attempt to run tests with WordPress 6.8
PHP_VERSION=8.2 WP_VERSION=6.8 composer build-test
PHP_VERSION=8.2 WP_VERSION=6.8 composer run-test

Error Output

mariadb-dump: Got error: 2026: "TLS/SSL error: SSL is required, but the server does not support it" when trying to connect
Script bash bin/run-docker.sh run handling the docker-run event returned with error code 2

Additional context

No response

WPGraphQL Version

latest

WordPress Version

6.8

PHP Version

8.1, 8.2

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

Metadata

Metadata

Assignees

Labels

scope: testsDeveloping unit tests, integration tests, and ensuring coveragetype: bugIssue that causes incorrect or unexpected behavior

Type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions