1、查询表中的所有数据
select * from 表名;
2、插入操作
insert into 表名(列名1,列名2) values(值1,值2);
3、更新操作
update 表名 set name='zs';
4、删除操作
delete from 表名 where name='zs';
5、修改数据库密码
use mysql;
update user set password=password('abc') WHERE User='root';
update mysql.user set authentication_string=password('123456') where user='root' and Host = 'localhost';
flush privileges;刷新MySQL的系统权限相关表
mysqladmin -u root -p password 12356