Skip to content

Instantly share code, notes, and snippets.

@sandyxu
Created August 23, 2013 09:46
Show Gist options
  • Save sandyxu/6317492 to your computer and use it in GitHub Desktop.
Save sandyxu/6317492 to your computer and use it in GitHub Desktop.
mysql config file /usr/local/etc/my.cnf
[client]
port = 3306
socket = /tmp/mysql.sock
default-character-set = utf8
[mysqld]
collation-server = utf8_unicode_ci
character-set-server = utf8
init-connect ='SET NAMES utf8'
max_allowed_packet = 64M
bind-address = 127.0.0.1
port = 3306
socket = /tmp/mysql.sock
innodb_file_per_table=1
[mysqld_safe]
timezone = '+0:00'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment