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

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

邮箱: 1090055252@qq.com
原文地址:https://www.cnblogs.com/zhaoxianxin/p/13637541.html