【MySQL】关于MySQL的jdbc
发布日期:2021-05-06 21:04:57 浏览次数:20 分类:技术文章

本文共 2104 字,大约阅读时间需要 7 分钟。

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开启SSL的服务端和客户端设置
下一篇:【MySQL】MySQL之权限管理

发表评论

最新留言

逛到本站,mark一下
[***.202.152.39]2025年03月22日 23时14分29秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章