1.create user‘todo’@’localhost’ identified by ‘123456’;
create database todo;
grant all on todo.* to ‘todo’@’localhost’;
2.mysql -u todo -p
use todo;
3.create table user(
              id int primary key auto_increment not null,
              name varchar(10)
        );
4.insert into user (name) values (‘qwq’);
5.delete from user where name = ‘qwq’;