创建mysql数据库时设置字符集

查看字符集

show variables like '%char%'

 设置统一的utf8

vim /etc/my.cnf

猜你喜欢

转载自www.cnblogs.com/jianzhaojing/p/12938717.html