> delete from mysql.user where (user,host) not in (select 'root','localhost');
> truncate table mysql.db;
> update mysql.user set user='system',password=password('xuwang');
> flush privileges;
-- By 许望(RHCA、OCM、VCP)
最后修改:2020 年 01 月 02 日 08 : 36 PM
如果觉得我的文章对你有用,请随意赞赏