Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing PostgreSQL from Mac-only network



Gentle people,

I have an in-house Ethernet network of a Cube and iMac. PostgreSQL is
up and running on the Cube. How do I access the database from iMac?
Both running OS X 10.2.6 with the latest security update installed.

I have the following in creating a connection dialog:


.
JTextField("jdbc:postgresql://localhost:5432/myname?charSet=LATIN1");
.
driverField = new JTextField("org.postgresql.Driver");
.

From the iMac, I make sure I connect to the Cube. The connection dialog
displays this "URL" and allows one to make changes. I know I have to
change the "localhost" to the IP adress of the Cube. How can I specify
the "path" to thedriver on the Cube?

Do I have to have the driver installed on the iMac? What do I have to
enter in the .tcshrc on the iMac? Cube has:

setenv PATH ${PATH}:/Library/PostgreSQL/bin


Kindly advise.

Thanks

Oguz
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.