第一步:使用root权限登录mysql;
第二步:执行 grant all privileges on *.* to root@"%" identified by ".";
第三步:执行 flush privileges;
完成;
本文介绍如何使用root权限登录MySQL,并通过执行SQL命令为root用户授予全局所有权限的方法。
第一步:使用root权限登录mysql;
第二步:执行 grant all privileges on *.* to root@"%" identified by ".";
第三步:执行 flush privileges;
完成;

被折叠的 条评论
为什么被折叠?