Think Your Mind

Change MySQL default charset

by kary on Apr.24, 2009, under Linux, MySQL

When runing MySQL in Linux, the latin_1 charset will be the default when you create new database. But we always need UTF-8 as the default charset in our database, so that the below configration will help you made the process smooth.

character-set-server=utf8
default-collation=utf8_unicode_ci

Share/Save/Bookmark

No comments for this entry yet...

Leave a Reply

You must be logged in to post a comment.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Recent Comments