mysql 初始化时root无密码

修改密码

update user set password=PASSWORD('123456') where User='root';

添加用户设置权限

grant select,insert,update,delete on *.* to test1@"%" Identified by "test";

grant all privileges on *.* to test@"%" Identified by "test";

posted on 2015-12-20 12:11  悄悄的来,匆匆的走  阅读(831)  评论(0编辑  收藏  举报

导航