Reputation: 49005
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
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
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:
You have to look at your specific version.
MySQL belogs to Sun Microsystems now after all
Upvotes: 5