MySQL Change Default Character Set

From Wiki
Revision as of 16:38, 1 April 2008 by Admin (Talk | contribs) (New page: Go to the [mysqld] section in my.cnf and add two strings: collation_server=utf8_unicode_ci character_set_server=utf8 You can also add skip-character-set-client-handshake to enforce ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Go to the [mysqld] section in my.cnf and add two strings:

collation_server=utf8_unicode_ci
character_set_server=utf8

You can also add

skip-character-set-client-handshake

to enforce using of utf8 encoding in db.