• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

mysql network from home

 
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Still Completely lost on this one. Is it possible to wirelessly access mysql through airport ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic