标签:user unsigned sql mysql table comm rem like primary
create table user(
id int unsigned not null auto_increment primary key comment ‘注释‘,
username varchar(20) not null comment ‘注释‘,
password char(32) not null comment ‘注释‘);
#显示编码
show variables like ‘%char%‘;
set names gbk;
#显示创建表命令
show create table user;
#清空表
truncate user;
#刷新
flush privileges;
#跳过权限表
mysqld --skip-grant-tables
标签:user unsigned sql mysql table comm rem like primary
原文地址:https://www.cnblogs.com/notice/p/9465303.html