Eugene M
Eugene M

Reputation: 49005

Is jdbc by itself compatible with mysql

I'd like to know if jdbc by itself is compatible with mysql or do I have to intsall something extra? I was told it is not compatible and that I'd have to use a different database.

Upvotes: 0

Views: 432

Answers (2)

Chris Nava
Chris Nava

Reputation: 6802

JDBC is a specification for Java/database interaction. As a specification it's compatible with almost every DB. However, you need a JDBC compliant driver written for your database. Googling "jdbc driver {databasevendor}" should get you an the right track.

Upvotes: 0

OscarRyz
OscarRyz

Reputation: 199234

It does.

You have to use the correct mysql jdbc driver and that's it!

Some useful links:

Little old but still helpful:

Using JDBC with MySQL, Getting Started

Official reference:

Official JDBC Driver

JDBC reference

You have to look at your specific version.

MySQL belogs to Sun Microsystems now after all

Using MySQL from Java

Upvotes: 5

Related Questions