mysql创建utf-8数据库
创建
CREATE DATABASE test DEFAULT CHARACER SET utf8 COLLATE utf8_general_ci;
修改
ALTER DATABASE test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE DATABASE test DEFAULT CHARACER SET utf8 COLLATE utf8_general_ci;
ALTER DATABASE test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;