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的區(qū)別
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的配置
http://www.reibang.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