1、查询表中有多少条数据
SHOW table status like '表名'
2、修改mysql用户密码
UPDATE user SET password=PASSWORD('123456') WHERE user='root'; FLUSH PRIVILEGES;