Create a mysql database, the default character set utf8

The following script creates the database yourdbname and specifies that the default character set is utf8.

CREATE DATABASE IF NOT EXISTS yourdbname DEFAULT CHARSET utf8 COLLATE utf8_general_ci;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326101349&siteId=291194637