Always when I want to use programme that using mysql database, it forces me to install MySQL connector or mysql-connector-java.jar
Why do I need MySQL connector and how does it work??
simple and logical explanation please!!
解决方案
JDBC is a library used by your Java programs to access relational databases. You can use it to access Oracle, Informix, Microsoft SQL Server, PostgreSQL, DB2, and other makes of database server, as well as MySQL.
The MySQL connector is a library for, well, connecting JDBC to the MySQL database. If your program were using Oracle, you would use the Oracle connector instead.
This is necessary because each make of database server has its own specific protocol for transporting requests to, and results from, the server to application programs.