mysql相关命令

SELECT DISTINCT CONCAT('User: ''',user,'''@''',host,''';') AS query FROM mysql.user;

grant all privileges on *.* to 'root'@'%' identified by 'root';

flush privileges;

posted @ 2019-08-08 12:04  Smile杰丶  阅读(219)  评论(0编辑  收藏  举报