數據庫亂碼

兩個地方需要修改 my.int 裏面

1.

[mysql]

default-character-set=GBK

 

2.

# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=GBK  這個是數據庫裏的設置

發佈了42 篇原創文章 · 獲贊 2 · 訪問量 4329
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章