mysql创建utf-8字符集数据库(command line)

2019-05-06T00:07:00
CREATE DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

更改数据库的字符编码

ALTER DATABASE db_name DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »