Skip to content

Instantly share code, notes, and snippets.

@mauricio
Created February 10, 2012 15:24
Show Gist options
  • Save mauricio/1790261 to your computer and use it in GitHub Desktop.
Save mauricio/1790261 to your computer and use it in GitHub Desktop.
setting mysql to utf8
[client]
port = 3306
socket = mysql
default-character-set=utf8
[mysqld]
port = 3306
socket = mysql
skip-locking
init_connect='SET collation_connection = utf8_general_ci'
init_connect='SET NAMES utf8'
default-character-set=utf8
character-set-server = utf8
collation-server = utf8_general_ci
[mysql]
default-character-set=utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment