docker安装mysql8,映射本地端口3306
create database myblog charset=utf8;
use myblog;
show tables;
desc mm_t_user;
show columns from mm_t_user;
insert into mm_t_user (insert_time,update_time,deleted,number,name,phone,content)
VALUES('2023-11-24','2023-11-24','0','1001','mm','13654854562','很厉害');
insert into mm_t_user (insert_time,update_time,deleted,number,name,phone,content)
VALUES('2023-11-24','2023-11-24','0','1002','Krystal','13654854563','很厉害吗');
insert into mm_t_user (insert_time,update_time,deleted,number,name,phone,content)
VALUES('2023-11-24','2023-11-24','0','1003','ck','13654854564','很帅气');
select * from mm_t_user
UPDATE mm_t_user SET content='ck' WHERE id=5;
DELETE FROM mm_t_user WHERE id=4;