Mysql8 给与所有权限

mysql> grant all privileges on *.* to ‘root’@’%’ ;
Query OK, 0 rows affected (0.08 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.07 sec)

发表评论

邮箱地址不会被公开。 必填项已用*标注