MYSQL 创建数据库SQL

时间:2023-03-08 17:53:31
MYSQL 创建数据库SQL

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