CREATE DATABASE shop CHARACTER
SET utf8 DEFAULT CHARACTER SET utf8
COLLATE utf8_general_ci DEFAULT
COLLATE utf8_general_ci ;
CREATE DATABASE test DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
原文:https://www.cnblogs.com/Jeely/p/12621241.html