-
Hi, I noticed that the latest local image of MySQL I'm using enforces SSL. This causes the local DB backup to fail during updates:
All I would need is I thought about using the A way to achieve this would be to add a check for
With the config having:
Btw, the deprecation warning should probably be taken into account and the default command be switched to I hope that makes sense, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I’m not finding any mention of my.cnf supporting an |
Beta Was this translation helpful? Give feedback.
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 havingssl-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.