- 创建utf8编码的数据库
create database mydatabase character set utf8mb4 collate utf8mb4_unicode_ci;
或者
create database mydatabase character set utf8 collate utf8_general_ci;
create database mydatabase character set utf8mb4 collate utf8mb4_unicode_ci;
或者
create database mydatabase character set utf8 collate utf8_general_ci;
本文标题:Mysql DDL操作
本文链接:https://www.haomeiwen.com/subject/lvyndqtx.html
网友评论