I once did a project in a class that connected to a mySQL database, but now I'm using the jGRASP ide on a mac and the class files won't compile properly. In the project we added the files: Connection.class, ResultSet.class, Sql.class, and Statement.class to the directory (assuming it's the middleware).

Is there somewhere I can download these files for free so I can run this program on my Mac? Also, would these files be sufficient to connect to an SQL server?

Recommended Answers

All 2 Replies

You can get jdbc bindings, native libraries, and source code for all of them from Oracle for MySQL.

and no, you need specific driver jars for each database engine. So different ones for Oracle, MySQL, PostreSQL, MSSQL Server, etc. etc. etc.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.