MySQL中用户权限导出的脚本 s/^\(Grants for .*\)/-- \1 /;/--/{x;p;x;/--/{x;p;x;p;select user,host from mysql.user;select user,host from mysql.user; windsha 2016-10-31 04:04:52