diff options
author | Adam <Adam@anope.org> | 2016-10-17 18:33:55 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-17 18:33:55 -0400 |
commit | 22d166fd4e98b67cac7103b48801fb95a0179f01 (patch) | |
tree | 300b00bd52c5d3a26978bfe23bbdc2adc9c0fa26 /docs/MySQL.md | |
parent | 1ba242179fee46583098f48421af39ce9a8985a1 (diff) |
Address casemapping issues in sqlite/mysql
Diffstat (limited to 'docs/MySQL.md')
-rw-r--r-- | docs/MySQL.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/MySQL.md b/docs/MySQL.md new file mode 100644 index 000000000..c463c1f00 --- /dev/null +++ b/docs/MySQL.md @@ -0,0 +1,24 @@ +# How to install rfc1459 character set into MySQL: + +Copy data/mysql/rfc1459.xml to your character_sets_dir, identified by + +``` +SHOW VARIABLES LIKE 'character_sets_dir'; +``` + +Add the following charset to Index.xml in the character_sets_dir directory: + +``` +<charset name="rfc1459"> + <collation name="rfc1459_ci" id="800"/> + <collation name="rfc1459_inspircd_ci" id="801" flag="primary"/> +</charset> +``` + +Restart MySQL. + +Now create the database using the appropriate character set: + +``` +CREATE DATABASE anope DEFAULT CHARACTER SET rfc1459 DEFAULT COLLATE rfc1459_inspircd_ci; +``` |