mysql數據庫設置utf-8編碼

修改/etc/my.cnf或者/etc/mysql/my.cnf文件 [client] default-character-set = utf8 [mysqld] default-storage-engine = INNODB character-set-server = utf8 collation-server = utf8_general_ci 重啓mysql,使用mysql客戶端檢查編碼
相關文章
相關標籤/搜索