grant all on web.* to casper@localhost identified by "*******";
grant all on web.* to casper@192.168.1.2 identified by "*******";
flush privileges;
grant all on web.* to casper@'%' identified by "*";
update user set password=password('*******') where user='root';
本文介绍了如何使用MySQL命令为不同用户分配数据库权限,并更新root用户的密码。
824

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



