原文:http://www.weiruoyu.cn/?p=454


mysql> use mysql;

复制一下user,防止出现错误,这是个好习惯。

mysql>create table myuser_root select * from user;

mysql> grant all on *.* to hskj@localhost identified by '123456';

mysql> flush privileges;