mysql数据库中文是乱码的解决办法

在my.cnf或者my.ini配置文件中的client和mysql中增加

default-character-set = utf8

重启mysql在检测

发表评论

后才能评论