1. 程式人生 > >MYSQL 建立資料庫SQL

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