View mysql database installed version information
mysql --version
Modify the mysql root password to 123
Be logged in mysql
set password for the user name @localhost = password ( 'new password');
Create table
use 表名 create table wg (id wg,name char(10));
insert into wg values (1,'zz'),(2,'zzz');
delete data
delete from table where condition judgment section