解决利用sqoop导入MySQL中文乱码的问题
cd /etc
vi /etc/my.cnf
修改或者添加
[mysql]
default-character-set=utf8
[client]
default-character-set=utf8
[mysqld]
default-character-set=utf8
character_set_server=utf8
init_connect=‘SET NAMES utf8’
重启mysql
来源:CSDN
作者:v9ningmeng
链接:https://blog.csdn.net/weixin_44188196/article/details/103757612