摘要:
查看当前用户 use mysql; select current_user(); 或者: select User, authentication_string , Host from user; 查看权限 show grants for 'user'@'ip'; 或者 show grants; 创建 阅读全文
摘要:
1.登进MySQL之后 mysql -uroot -p***2,输入以下语句,进入mysql库: use mysql3,更新域属性,'%'a56爆大奖在线娱乐允许外部访问: update user set host='%' where user ='root';4,执行以上语句之后再执行: FLUSH PRIVIL 阅读全文