Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Xcode Java and MySql
#1
I was recently "downsized" (Software Engineer with 20+ years experience) and while out beating the bushes some of my fellow "downsized" buddies found a little consulting opportunity and were kind enough to deal me in.

Nothing big, but every little bit helps.

I need to code a Java object which pokes some values in a MySql database.

I am a long time Mac user (way back to the Mac Plus) but never used it for development.

After a little investigation I decided that my Intel Core Duo iBook (10.4.8) using the Xcode (2.2.1) IDE should do the trick very nicely for what I need to do.

I have installed Xcode and downloaded and installed MySql so I believe I have most of the pieces I need to start with.

I am just not sure how to set things up in Xcode to work with MySql.

Do I need to download JDBC?

What kind of Java Project do I select in Xcode and what's the trick to configure it to work with a MySql database?

It doesn't need a user interface or any web functionality.

Any help would be greatly appreciated.
Reply
#2
Welcome to the MR Forums Davey!
I can't give you a precise answer (not MySQL literate) but you should visit http://developer.apple.com/tools/
Most, if not all, the info you need is there!
While there, sign up for the Apple Developer Connection (ADC), it's free and very helpful.

Good wishes in your new venture.
Reply
#3
Yes, the developer.apple.com site was most helpful in getting MySql installed and running on my iBook.

I signed up for ADC when I installed Xcode as well.

I just have not had any luck finding any nuts and bolts info on setting up a Java project in Xcode to use MySql.

Any help would be greatly appreciated!
Reply
#4
http://dev.mysql.com/usingmysql/java/

Not Mac specific, but it probably can help you.
Reply
#5
You'll need either the mysql jdbc plugin or a java interface library.

otherwise nothing about this is particularly macintosh.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)