Skip to content

Database export SSL error with wordpress:cli #999

@tcdaly

Description

@tcdaly

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions