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.