Take the 2-minute tour ×

I am trying to connect to a mysql database on a windows server from linux. I don't have much experience working with Windows at all, especially windows server. How do I go about making a connection to the mySQL database from Linux? I was also wondering (and this should maybe be a different thread) if there is a Windows equivalent to the apache .htaccess file that would handle rewrites?

share|improve this question

migrated from stackoverflow.com Feb 21 '12 at 3:49

This question came from our site for professional and enthusiast programmers.

Yes, different thread. Different site too. –  Ignacio Vazquez-Abrams Feb 21 '12 at 3:12
Remotely connecting to MySQL on a Windows host is no different to connecting to MySQL on any other OS. –  John Gardeniers Feb 21 '12 at 20:37
add comment

1 Answer

Where the settings are placed depend on the client you're using, but you must specify the remote (Linux) host machine's address and port number (at least if not default) when connecting your client.

It is possible to run Apache on Windows. If you're trying to run a different web server, you need to to split that to another question.

share|improve this answer
add comment

Your Answer

