Comments (3)
Hi srna
I have a same problem for japanese user.
I create a branch with mysqld additional_mysqld_config function.
this is a usage sample code changing mysqld character_set_server.
$ export ADDITIONAL_MYSQLD_CONF="[mysqld]\ncharacter-set-server=utf8\ncollation-server=utf8_general_ci
$ dokku mysql:create japanese-test
$ cat /var/lib/dokku/services/mysql/japanese-test/config/additional_mysqld_config.cnf
[mysqld]
character-set-server=utf8
collation-server=utf8_general_ci
$ dokku mysql:enter japanese-test mysql -u mysql -p japanese-test -e "SHOW VARIABLES LIKE 'char%';"
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
source code is here .
https://github.com/aminotsukasa/dokku-mysql/tree/option_mysql_conf
josegonzalez
Can I send pull request with this branch?
from dokku-mysql.
Hi aminotsukasa
Thank you so much for this patch. I myself made a patch inspired by your, having just utf8 as the charset. I made also a pull request, but it is not likely that they accept it. Serves me well, though.
My repo is https://github.com/srna/dokku-mysql
Thanks.
Tomas
from dokku-mysql.
#62 is up, and closes this. I have a clarifying question, otherwise it'll def be merged in. It is a pretty sane default imo.
from dokku-mysql.
Related Issues (20)
- mysql:backup produces "repository name must be lowercase HOT 4
- We have spotted a crypto miner inside mysql container HOT 1
- Mysql 8 HOT 1
- Backup all databases instead of the one which is called like the service HOT 2
- Add a `mysql:login` command HOT 2
- Inserting non english characters in mysql shell
- How to make user restrictions to execute some commands as connect or import. HOT 1
- Maximum number of databases is 23 HOT 1
- how to execute a commands on the mysql container ? HOT 1
- tunneling into mysql:connect HOT 1
- How to use plugin with remote MySQL server? HOT 1
- mysql: not found in the container after MySQL update HOT 2
- A way to restore service container HOT 12
- Keeping config changes between deploys HOT 5
- Cannot upgrade mysql service HOT 5
- Cannot export/backup DB HOT 8
- Failed to create a backup manually HOT 2
- Custom config not being loaded - MySQL 5.7.4 HOT 2
- Add retention support for backups HOT 1
- Error when trying to schedule backups HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dokku-mysql.