Skip to content

test: Backdrop + MySQL 5.7 SSL connectivity#84

Merged
AaronFeledy merged 2 commits intomainfrom
fix/mysql57-ssl-error
Feb 20, 2026
Merged

test: Backdrop + MySQL 5.7 SSL connectivity#84
AaronFeledy merged 2 commits intomainfrom
fix/mysql57-ssl-error

Conversation

@AaronFeledy
Copy link
Member

@AaronFeledy AaronFeledy commented Feb 19, 2026

Context

Reproduces lando/lando#3833 — user reported TLS/SSL errors when using the Backdrop recipe with MySQL 5.7. The mysql and mysqldump commands from the appserver fail with self-signed certificate errors.

This test duplicates backdrop-mysql-client but 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/php tests).

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-mysql57 Leia example that provisions Backdrop and runs connectivity/export checks to catch MySQL 5.7 TLS/SSL client failures when the recipe is configured with database: 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.

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.
@netlify
Copy link

netlify bot commented Feb 19, 2026

Deploy Preview for lando-backdrop ready!

Name Link
🔨 Latest commit d9a6083
🔍 Latest deploy log https://app.netlify.com/projects/lando-backdrop/deploys/6997af479624a100084e734b
😎 Deploy Preview https://deploy-preview-84--lando-backdrop.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 80 (🔴 down 7 from production)
Accessibility: 96 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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.
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is ON. A Cloud Agent has been kicked off to fix the reported issue.

recipe: backdrop
config:
php: '8.4'
database: mysql
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Fix in Cursor Fix in Web

@cursor
Copy link

cursor bot commented Feb 20, 2026

Bugbot Autofix prepared fixes for 1 of the 1 bugs found in the latest run.

  • ✅ Fixed: Missing MySQL 5.7 version pin in database config
    • Changed database config from mysql to mysql:5.7 to properly test MySQL 5.7 SSL connectivity as intended.

View PR

Or push these changes by commenting:

@cursor push 7ae1e1115d
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

@AaronFeledy AaronFeledy merged commit d9a6083 into main Feb 20, 2026
32 of 34 checks passed
@AaronFeledy AaronFeledy deleted the fix/mysql57-ssl-error branch February 20, 2026 04:35
@cursor cursor bot mentioned this pull request Feb 20, 2026
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant