mysql> show variables like ‘%char%‘;
mysql> set character_set_client=utf8;
在任务管理器上查看mysql服务
重启mysql服务(以管理员身份)
net stop mysql57
net start mysql57
2022-05-05 01:10:13
mysql> show variables like ‘%char%‘;
mysql> set character_set_client=utf8;
net stop mysql57
net start mysql57