dtry54612 2012-05-05 10:22
浏览 37

通过LAN WAMP拒绝Mysql访问

I have 2 computers with IP Addresses xxx.x.x.32 and xxx.x.x.35. Both have WAMP server running and are online. For my application both the above mentioned computers are servers and xxx.x.x.35 needs to access xxx.x.x.32's Mysql database as root user. Initially when I went to the cmd.exe of xxx.x.x.35 and typed in C:>mysql -u root -h xxx.x.x.32 -p and typed in the password I got the following error:- ERROR 1130(HY000): Host xxx.x.x.35 is not allowed to connect to this mysql server...

I then executed the following command on xxx.x.x.32:- GRANT ALL ON *.* TO 'root'@'xxx.x.x.35';FLUSH PRIVILEGES;.

After that on xxx.x.x.35 I executed the first command and got the following error:-

ERROR 1045(28000): Access denied for root@xxx.x.x.35.

The firewall is turned off. In other words I want to access the xxx.x.x.32 database as it's own root user from another machine namely xxx.x.x.35 Please do get back to me if there needs to be any clarification in the question.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 vue3加ant-design-vue无法渲染出页面
    • ¥15 matlab(相关搜索:紧聚焦)
    • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
    • ¥15 路易威登官网 里边的参数逆向
    • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
    • ¥50 需求一个up主付费课程
    • ¥20 模型在y分布之外的数据上预测能力不好如何解决
    • ¥15 processing提取音乐节奏
    • ¥15 gg加速器加速游戏时,提示不是x86架构
    • ¥15 python按要求编写程序