Override compiled character set
Posted by: Jevgenij Obzigailov
Date: March 23, 2011 04:18AM

I use MySQL since 4.0, and my cp1257 encoded database needs custom sort order. In earlier versions (up to 5.0) it was quite easy to modify cp1257.xml definition file in share/charset folder. But with version 5.5, both character set and collation I used are compiled into database server executable, so modifying xml file does not work.

I found a workaround - created "custom" character set, made it default and re-imported data sorts as it should. However, I hope there should be better way.

So my question is: how can I override compiled character set to external one with the same name? For example, MySQL 5.5.10 has cp1257 and cp1257_lithuanian_ci built-in, but I want to redefine them from external configuration file in /share/charsets

Options: ReplyQuote


Subject
Views
Written By
Posted
Override compiled character set
3493
March 23, 2011 04:18AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.