diff options
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; +``` |