标签:字符 基本命令 sql utf-8 编码 gen har 显示 size
show databases;
use mysql; // 打开库
show tables;
create database 库名;
建库是设置好字符编码:
create database 库名 character set utf-8;
GBK: create database test2 DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_ci;
UTF8: CREATE DATABASE `test2` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
drop database 库名;
标签:字符 基本命令 sql utf-8 编码 gen har 显示 size
原文地址:https://www.cnblogs.com/7q4w1e/p/9762626.html