From e2253571b319274e706870af1ad4f4853338ea09 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 19 Feb 2026 23:11:28 +0000 Subject: [PATCH] fix: add ssl-mode=PREFERRED to MySQL client config for 5.7 compatibility The MySQL 8.0 client enforces SSL verification which fails with MySQL 5.7's self-signed certificates. Adding ssl-mode=PREFERRED allows connections to proceed without strict SSL verification, fixing the SSL error. --- scripts/mysql-client-install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/mysql-client-install.sh b/scripts/mysql-client-install.sh index 4d63e45d..7b1f29e5 100755 --- a/scripts/mysql-client-install.sh +++ b/scripts/mysql-client-install.sh @@ -50,6 +50,7 @@ mkdir -p /etc/mysql/conf.d cat > /etc/mysql/conf.d/lando.cnf << 'MYCNF' [client] default-character-set=utf8mb4 +ssl-mode=PREFERRED [mysqldump] # Prevent column-statistics errors with newer mysqldump