When we make any new tables for Emu, please remember to force collation to latin_general_ci, and not this hokey ass Swedish crap. I think that's what MySQL defaults to if the server isn't set to a specific collation. Either way, I have spent literally hours debugging a problem that was caused by mis-matched collations.
And now that I have spent the afternoon "FIXING" both World and Parser databases collations, I do not want to see anymore f**king Swedes!!!
Make sure your table creates end with:
Code: Select all
) ENGINE=INNODB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;Code: Select all
DROP TABLE IF EXISTS `rulesets`;
CREATE TABLE `rulesets` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`ruleset_id` int(10) unsigned NOT NULL,
`ruleset_name` varchar(64) NOT NULL DEFAULT 'default_ruleset',
`ruleset_active` tinyint(1) unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`),
UNIQUE KEY `RuleNameIDX` (`ruleset_name`),
KEY `RulesIDX` (`ruleset_id`)
) ENGINE=INNODB DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;Also, you can force your MySQL to the new standard collation with these entries in my.cnf/my.ini files:
Code: Select all
character-set-server = latin1
collation-server = latin1_general_ciYou must comply.
(sorry, been watching a lot of 7 of 9 Voyager episodes...)