test: Backdrop + MySQL 5.7 SSL connectivity#84
Merged
AaronFeledy merged 2 commits intomainfrom Feb 20, 2026
Merged
Conversation
Reproduces lando/lando#3833 — Backdrop recipe with MySQL 5.7 where mysql/mysqldump commands from the appserver fail with TLS/SSL errors due to self-signed certificates.
✅ Deploy Preview for lando-backdrop ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…ario The reporter used the default MySQL version (no version pinned), which is the more realistic test case.
| recipe: backdrop | ||
| config: | ||
| php: '8.4' | ||
| database: mysql |
There was a problem hiding this comment.
Missing MySQL 5.7 version pin in database config
High Severity
The database config is set to mysql without a version tag, but this test exists specifically to reproduce MySQL 5.7 SSL issues (lando/lando#3833). Other examples in this repo (e.g. backdrop-custom) use database: mysql:5.7 to pin the version. Without the :5.7 suffix, this will spin up the default MySQL version instead of 5.7, meaning the test won't actually validate the SSL connectivity scenario it was created for.
|
Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.
Or push these changes by commenting: Preview (7ae1e1115d)diff --git a/examples/backdrop-mysql57/.lando.yml b/examples/backdrop-mysql57/.lando.yml
--- a/examples/backdrop-mysql57/.lando.yml
+++ b/examples/backdrop-mysql57/.lando.yml
@@ -2,7 +2,7 @@
recipe: backdrop
config:
php: '8.4'
- database: mysql
+ database: mysql:5.7
webroot: web
# do not remove this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Context
Reproduces lando/lando#3833 — user reported TLS/SSL errors when using the Backdrop recipe with MySQL 5.7. The
mysqlandmysqldumpcommands from the appserver fail with self-signed certificate errors.This test duplicates
backdrop-mysql-clientbut targets MySQL 5.7 specifically to confirm whether the SSL issue manifests in the Backdrop recipe context (it didn't reproduce in the bare@lando/phptests).Related
Note
Low Risk
Only adds a new example and expands CI coverage; no production runtime code paths are modified.
Overview
Adds a new
examples/backdrop-mysql57Leia example that provisions Backdrop and runs connectivity/export checks to catch MySQL 5.7 TLS/SSL client failures when the recipe is configured withdatabase: mysql(no explicit version).Updates the Backdrop CI workflow to include this new example in the PR test matrix so the scenario is continuously validated.
Written by Cursor Bugbot for commit d9a6083. This will update automatically on new commits. Configure here.