更新用戶登錄密碼:
update mysql.user set password=password('root') where user='root' and host='localhost';flush privileges;
where: 匹配的條件
flush privileges : 立即刷新生效
更新用戶登錄密碼:
update mysql.user set password=password('root') where user='root' and host='localhost';flush privileges;
where: 匹配的條件
flush privileges : 立即刷新生效