【MySQL】关于MySQL的jdbc

Java MySQL 连接

https://www.runoob.com/java/java-mysql-connect.html



mysql5用的驱动url是com.mysql.jdbc.Driver,mysql6以后用的是com.mysql.cj.jdbc.Driver。

https://stackoverflow.com/questions/45286426/classnotfoundexception-with-com-mysql-cj-jdbc-driver-mysql-connector-and-intell

#############################

com.mysql.jdbc.Driver

com.mysql.cj.jdbc.Driver

org.mariadb.jdbc.Driver

##############################


com.mysql.jdbc.Driver 和 com.mysql.cj.jdbc.Driver的区别

https://www.cnblogs.com/liaojie970/p/8916568.html


java连接MariaDB/MySQL的设置

http://www.htsjk.com/mariadb/26731.html



MySQL Connector/J,List of MySql jar file

https://mvnrepository.com/artifact/mysql/mysql-connector-java




MariaDB Java Client,JDBC driver for MariaDB and MySQL

https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client



关于jdbc url  的 Properties & Descriptions

Configuration Properties for Connector/J

https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html




Connecting Securely Using SSL

https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-using-ssl.html


CREATE USER Statement

https://dev.mysql.com/doc/refman/5.7/en/create-user.html#create-user-tls



Converting PEM certificates and private keys to JKS

https://roopindersingh.com/programming/converting-pem-certificates-and-private-keys-to-jks



关于MySQL开启SSL后,jdbc的配置

https://www.jianshu.com/p/39cb6b36d6bd




MySQL SSL: Setting up Server Authentication

https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-using-ssl.html





Set SSL Certificate for MySQL Connection

https://stackoverflow.com/questions/35576994/spring-jpa-application-properties-usessl

##########################################

jdbc:mysql://xx.xx.xx.xx:3306/test

?useSSL=true

&requireSSL=true

&verifyServerCertificate=true

&clientCertificateKeyStoreUrl=file:cert/keystore.jks

&clientCertificateKeyStorePassword=123456

&trustCertificateKeyStoreUrl=file:cert/truststore.jks

&trustCertificateKeyStorePassword=123456

##########################################


What's New in Connector/J 8.0?

https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-whats-new.html

你可能感兴趣的:(【MySQL】关于MySQL的jdbc)