centos7 mysql8.0 授予root用户全部权限

grant all privileges on database_name.* to 'username'@'localhost'; flush privileges;

posted @ 2020-09-09 10:52  Black_Climber  阅读(2959)  评论(0编辑  收藏  举报