CanastaWiki / Canasta

MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.
https://www.canasta.wiki
MIT License
38 stars 28 forks source link

Add skip-binary-as-hex setting for mysql #128

Closed yaronkoren closed 2 years ago

yaronkoren commented 2 years ago

We had an issue with the mysql command-line client displaying all data as hexadecimal values in one Canasta-based wiki. We solved it by adding the following to the file /etc/my.cnf:

[client] skip-binary-as-hex = true

[mysql] skip-binary-as-hex = true

It would be great to add this setting by default within Canasta in some way, if that's possible, so that this kind of problem doesn't happen again for administrators.

jeffw16 commented 2 years ago

Is this a Canasta thing or a MySQL Docker image thing?

yaronkoren commented 2 years ago

Well, I suppose the latter, but there's no way for us to modify the MySQL image, is there? But however this can be done would be good.

jeffw16 commented 2 years ago

Such a change should be done on https://github.com/CanastaWiki/Canasta-DockerCompose I think.

yaronkoren commented 2 years ago

Okay, I posted this same issue there:

https://github.com/CanastaWiki/Canasta-DockerCompose/issues/19

Should I just close this one?

yaronkoren commented 2 years ago

Closing issue - this was fixed in Docker Compose.