Scenario: I have MySQL 5.1 installed on my Windows XP machine, and it has the database and tables laid out. Now, I want to connect to that MySQL remotely from my Windows 7 machine and enter data into it.
I have configured my MySQL on the XP machine to accept connections from a outside machine by making a new user, with password, and also specifying my Win 7 machine’s IP address as shown here – Please See .
My problem is that I do not understand how to connect to MySQL from Win 7 machine, my approach is that I reach the directory where I have MySQL installed on my Win 7 machine from cmd and use the command – ‘mysql -u [userid] –h [IP Address] –p’, this is as I use to connect to MySQL locally on Win 7 machine, barring the IP address part.
Please help me..what am I doing wrong ?, o is it all wrong ??, do I need a MySQL client on Win 7 machine for this ??, also, If I try to connect to MySQL on WIn XP machine from a linux machine..does it make it easier and more direct ??
I’ll really appreciate the help..
Regards,
Chirayu
You are doing the right thing. What is the response to the command
Does it prompt for a password? Does it blather about no route available?