Skip to content

Add an option to disable SSL verification when connecting to MySQL during DB backups #17143

Answered by uandco
uandco asked this question in Ideas
Discussion options

You must be logged in to vote

Sure is, but, indeed, it doesn't seem like Alpine Linux is offering a real MySQL client package, as stated in https://wiki.alpinelinux.org/wiki/MySQL

In the meantime, I solved it by copying a .my.cnf file having ssl-verify-server-cert=FALSE in my docker file, only for my local env.

This is obviously the best way, but might not be easy to implement for less container/devops savvy developers, hence why I reckon having Craft CMS set the ssl-mode based on the PDO attribute would still be worth exploring, knowing that would only be "real" MySQL compatible.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@uandco
Comment options

@uandco
Comment options

@angrybrad
Comment options

@uandco
Comment options

Answer selected by brandonkelly
@brandonkelly
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants