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;
posted @ 2022-08-19 22:52  luoganttcc  阅读(6)  评论(0)    收藏  举报