Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm using xampp and navicat to manage mysql on two dev machines (laptop & desktop). The laptop is my main machine, while the desktop acts as a local dev server for the group.

Connecting to mysql via localhost in navicat is working fine on the laptop. Is there a way (other than the http tunneling method) to allow access to the desktop from the laptop via navicat?

share|improve this question
    
What OS -- Linux? Windows? –  Dan Carley Aug 11 '09 at 16:03
add comment

2 Answers

up vote 1 down vote accepted

Just make sure that your mysql is binding to a socket on 0.0.0.0 and you should be able to connect to that socket. I guess the default is for mysql to bind to 127.0.0.1, which, of course, is hard to reach from the outside.

EDIT: The MySQL configuration file should be in .\xampp\mysql\bin\my.ini. You need to find the bind-address parameter and change it to 0.0.0.0.

Everyone on your network should then be able to connect that MySQL instance. Of course, that may include people who better shouldn't do that. But as long as there is a password for each mysql user and the instance is not facing the internet, there is not much to worry about.

share|improve this answer
    
Any idea where I adjust that? Any security issues I ned to worry about? –  sprugman Aug 11 '09 at 19:15
    
I assumed you had at least some knowledge about MySQL configuration. Sorry. I'll add that to my answer. –  innaM Aug 11 '09 at 20:04
add comment

If not found, add it.

bind-address=0.0.0.0 under mysqld

See it http://www.afella.org/mysql/my.ini

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.