In the Web project, the latest MySQL driver download and configuration
In our web service development, we need to use the MySQL driver for database operations.
Here is how to download and configure the driver.
Driver package download
Download on the official website, address: https://dev.mysql.com/downloads/connector/j/
The selected version is as follows:
Configuration
After the download is complete, it is a compressed package.
- First unzip:
Copy the mysql-connector-java-8.0.23.jar library.
- Copy to project directory
- Add to lib directory
On mysql-connector-java-8.0.23.jar, right-click, and in the pop-up menu, add to the lib directory:
- carry out
After completion, the jar package will be displayed in the following directory:
Then you can use the MySQL driver in your code.
PS: For more more content..., please check --> "Server Development"
PS: More more content..., please check --> "Server Development"
PS: More more content..., please check --> "Server Development"