B
B
bremilya2020-05-03 22:25:58
Java
bremilya, 2020-05-03 22:25:58

Where to find and where to put JDBC driver to connect to mysql database?

You need to connect to mysql database. To do this, I download the jdbc driver from here https://dev.mysql.com/downloads/windows/installer/... (a certain installer is downloaded here in which there is no jdbc file, so I opened the archive with this driver). I go into the archive, there is another archive called mysql-connector-java-5.1.49-bin.jar, in it, instead of the driver I need, there are three folders com, meta-inf and org, I did not find the necessary driver in any of them. I don’t understand where to find and download the necessary archive with this driver and where to place it later in order to connect with the database. Help please, tell me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Roo, 2020-05-03
@bremilya

1. Here: https://dev.mysql.com/downloads/connector/j/ (choose platform independent)
2. Or here: https://mvnrepository.com/artifact/mysql/mysql-con...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question