您的位置:首页 > 博客中心 > 数据库 >

mysql 控制台环境下查询中文数据乱码,插入、更新中文数据不成功

时间:2022-03-14 02:14

mysql 控制台环境下查询中文数据乱码,插入、更新中文数据不成功         登录mysql密码是加入编码参数--default-character-set,中文用gbk mysql -uroot -pabctrans --default-character-set=gbk   想要utf-8的话你需要整个文件 mysql: Character set ‘utf-8‘ is not a compiled character set and is not specified in the ‘utf8/Index.xml‘ file

热门排行

今日推荐

热门手游