CREATE DATABASE crm CHARACTER SET utf8 COLLATE utf8_general_ci;

 

MySQL :: MySQL 5.7 Reference Manual :: 10.3.3 Database Character Set and Collation
https://dev.mysql.com/doc/refman/5.7/en/charset-database.html

MySQL :: MySQL 8.0 Reference Manual :: 3.3.1 Creating and Selecting a Database
https://dev.mysql.com/doc/refman/8.0/en/creating-database.html

MySQL :: MySQL 5.7 Reference Manual :: 13.1.11 CREATE DATABASE Syntax
https://dev.mysql.com/doc/refman/5.7/en/create-database.html

版权声明:本文为rgqancy原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/rgqancy/p/10074849.html