基本操作 show databases; create databases; use yangyang; show tables; create table user(id int ,username varchar(20),pwd varchar(20)); 用户名、密码 select user,host from mysql.user; set password for root = password('123');