Skip to content

Commit

Permalink
设置数据库客户端默认编码
Browse files Browse the repository at this point in the history
  • Loading branch information
springjk committed Dec 1, 2016
1 parent 83c7f78 commit 1c8bf9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/mysql/custom.cnf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[client]
default-character-set=utf8

[mysqld]
character-set-server = utf8
collation-server = utf8_general_ci
Expand Down

0 comments on commit 1c8bf9a

Please sign in to comment.