mysql 建表,解决中文输入
生活随笔
收集整理的這篇文章主要介紹了
mysql 建表,解决中文输入
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在建表的時候直接指定utf8,這樣就讀寫中文就沒有問題
create table player_info1 (id bigint(20) auto_increment,player_id bigint(20), created_date datetime,language text,country_code text,source text,device_type text,system_lang text,os_type text,rt bigint(20),dt text,primary key (id) ) character set = utf8;總結
以上是生活随笔為你收集整理的mysql 建表,解决中文输入的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mongodb distinct too
- 下一篇: mysql set bulk_inse