show status,修改mysql用户密码 使用

1、查询表中有多少条数据

SHOW table status like '表名'

 2、修改mysql用户密码

UPDATE user SET password=PASSWORD('123456') WHERE user='root';
FLUSH PRIVILEGES;
原文地址:https://www.cnblogs.com/cexm/p/6307487.html