ubuntu修改MySQL数据库字符集编码

版权声明:转载请声明 https://blog.csdn.net/weixin_42451919/article/details/87001004

sudo vi /etc/mysql/mysql.conf.d   选中mysqld.cnf按回车,在[mysqld]下面添加   character_set_server=utf8

sudo service mysql restart

猜你喜欢

转载自blog.csdn.net/weixin_42451919/article/details/87001004