Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default server collation support #3

Open
Voronenko opened this issue Feb 21, 2020 · 0 comments
Open

Default server collation support #3

Voronenko opened this issue Feb 21, 2020 · 0 comments

Comments

@Voronenko
Copy link
Contributor

Check

SHOW VARIABLES LIKE 'char%'; SHOW VARIABLES LIKE 'collation%';

if you have latin1_swedish or smth like that in outputs,
consider instructing your server to use utf8 as a default instead. (Reasonable in 2020)

mysql_collation.cnf

[client]
default-character-set=utf8

[mysql]
default-character-set=utf8


[mysqld]
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant