Which version of MySQL should I download to use with Eclipse for Java programming on my Mac OS X Mavericks?

I have recently enrolled in a course to learn Java. I have installed Eclipse on my Macbook Pro (OS X 10.9 Mavericks) and it works fine. Now, the thing is, we have got to the part where I need to start using databases with my Java programs using JDBC-ODBC.


I understand that MS SQL Server is not available on the Mac platform. I assume the next best alternative is MySQL.


When I go to the MySQL webpage to download, I see quite many different types - http://dev.mysql.com/downloads/


My question is, which one should I download that will be suitable to my needs? I am totally in the dark about this as I am new to DBMS and the Mac OS as well. Any suggestions will be highly helpful.

MacBook Pro, OS X Mavericks (10.9.3)

Posted on May 28, 2014 4:38 AM

Reply
11 replies

May 29, 2014 5:27 AM in response to supriya84

Ok so I installed the MySQL Community Server and all seems to be well so far. However, I dont see an interface/application to write queries to create DBs and check it they are ok before actually accessing them through my Java applications. So do I download WorkBench now? The download page says:


MySQL Workbench Prerequisites: [+]

To be able to install and run MySQL Workbench 5.2 your System needs to have libraries listed below installed. The listed items are provided as links to the corresponding download pages where you can fetch the necessary files.


Does this apply for a Mac installation as well?


Also, do I need to download any connectors from the MySQL website to be able to connect my java applications to the server?

May 28, 2014 4:44 AM in response to supriya84

I'm not sure what MySQL Server is as MySQL is a SQL server.

Use the Enterprise edition.

Also download the Workbench. It makes managing the instances and access permissions easy. However, I hope the class will just give you the commands to set up the database to use with your assignments--they don't have time to teach you to be a DBA, also.


I enjoyed using Eclipse. It had a lot of nice features. There is a tutorial somewhere on their website which shows you how to take advantage of the features of the IDE. It took a few hours to go through all the lessons, but I thought it was worth the time.

May 28, 2014 4:48 AM in response to Barney-15E

Yes, they will give us the code to set up the DBs to use for our assignments.


Just a thought... isnt the Enterprise edition a paid version ? I clicked through the download steps and read somewhere that they offer a 30 day trial and then you have to obtain a license from Oracle.


Also, I suppose I will be needing some form of a query analyser as well as a client and server side of the DB. Will all this be included in the Enterprise edition?

May 28, 2014 4:54 AM in response to supriya84

Sorry, you're right. It is the Community Server. I glossed over that one and thought the Enterprise version was what was needed.


You don't need a "query analyser" at all, for any SQL server--it might be a handy tool, but it is not required especially for your needs.


MySQL is the Server and you can access it as "client" from the command line, or use a GUI tool to "talk" to it.

The MySQLWorkbench will be sufficient. It has a SQL editor and viewer to examine the schema.

However, your java app will be the client in this case.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Which version of MySQL should I download to use with Eclipse for Java programming on my Mac OS X Mavericks?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.