I'm attempting to export a database backup from a Wordpress site using Docker wordpress:cli. I get an SSL error:
mariadb-dump: Got error: 2026: "TLS/SSL error: Certificate verification failure: The certificate is NOT trusted." when trying to connect
Any guidance on how to disable SSL connections to MySQL? I've tried two things so far without success:
In compose.yaml:
environment: MYSQL_SSL_MODE: DISABLED
and require_secure_transport=OFF in my.cnf.