o(╥﹏╥)oSad

WeChat cannot downloadmysql connector java, but just click on the upper right corner and select open in browser or Safari!
mysql connector java

mysql connector java

  • Size: 3.6M
  • Language: Simplified Chinese
  • category: Database class
  • System: Win All

Recommended for you: MYSQL tools

Mysql's jdbc driver mysql connector java 5.1.38 mysql version, link to the latest jar package of mysql, you only need this mysql-connector-java-5.1.34-bin.jar for Java development. If your project uses the database mysql, Add the mysql-connector-java-5.1.18 jar package to the project, and then build path, and then configure URL, user, password at the DAO layer.

Installation method:

Install mysql-connector-java-5.1.38.zip:
1. Unzip the file-"Copy the mysql-connector-java-5.1.38-bin.jar file inside to-"E:Tomcatlib
2. Right-click the Web project-》properties-》Libraries-》Add External JARs-》mysql-connector-java-5.1.38-bin.jar and add it-》finish

Use code reference:

If your mysql-connector-java-5.1.13-bin.jar package is placed in the following directory, set the ClassPath and add the following D:Program FilesJavamysqlconnmysql-connector-java-5.1.13-bin.jar; This is how I solved it.

Compare the code. The premise is that you have placed the mysql jar package in your project.
String driver = "com.mysql.jdbc.Driver";
String url = "jdbc:mysql://127.0.0.1:3306/write database name here";
//Load driver
Class.forName(driver);
// Continuous database
Connection conn = DriverManager.getConnection(url, write username and password here);

How is it handled externally in the IDE?

Have you imported the jar file?

In the IDE, I generally do not set the ClassPath. I directly place the jar package in the current directory or the lib directory in the WEB project, then right-click on the project Properties->Java Build Path->Libraries->add External JARs and find The jar file in the current directory will do.

mysql connector java


 

If you use IDE to develop, just add mysql-connector-java-5.0.5-bin.jar to the Classpath and execute it. If not, you need to write like this when executing (for example, you put it in d: )
java -cp d:mysql-connector-java-5.0.5-bin.jar data

Version: 5.1.44 Official version | Update time: 2024-11-01

Similar recommendations

Latest updates

mysql connector java review

  • 1st floor Huajun netizen 2021-07-12 17:41:59
    mysql connector java is very easy to use, thank you! !
  • 2nd floor Huajun netizen 2019-06-09 14:48:49
    The mysql connector java interface design is easy to use and has rich functions. I highly recommend it!
  • 3rd floor Huajun netizen 2019-10-25 21:15:46
    The mysql connector java software is very easy to use, the download speed is very fast, and it is very convenient!

Recommended products

Everyonealso likeThese:

+

This application has not passed real-name authentication. You can download it through the mobile assistant.

CancelOK