Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mysql network from home

 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys. I have two macs, one is a laptop with mysql, the other is a mac mini.

I have mysql installed and running fine on the laptop, and a JDBC application running on the mini that needs to access the database in the laptop.

How can I connect from my mac mini to my mysql server on the laptop (I have a wireless airport base station, and the internet connection is working fine on both machines...the problem is how to get the two devices to talk directly through each other) ?

I guess the JDBC part is minor - once I can connect, Im sure the JDBC app will work just fine.
please help im totally lost on this one and desperate as this project is for work !!
[ May 18, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64701
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set up the JDBC URL in the app to reference the server. You can use the IP assigned by DHCP ro perhaps the Bonjour name of the server.
 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.

Im a little confused here :

According to airport utility , my IP address is 76.28.6.229
and meanwhile ifconfig tells me my address is 10.0.1.6

Ive tried pinging both from the machine Im trying to use as client, and pinging th 76.28... one was alot faster (.474) ms then pinging the 10.0.1.6 one (that took 1.287 ms per packet).

Some Im assuming this implies that 76.38.6.229 is simply the ip of my airport extreme base station, whereas 10.0.1.6 is the ip of my macbook which has the mysql server on it.

In any case, Bonjour doesnt seem to have a mysql service, and even if it did, Id rather do this using the IP address since thats universal.


Anyways Im still totally lost. Please let me know what you think. Ive posted the output of ifconfig below.


[ May 19, 2008: Message edited by: Ulf Dittmer ]
 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still Completely lost on this one. Is it possible to wirelessly access mysql through airport ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic