阿洵

JDBC:连接不同的数据库的Driver和URL的写法

连接mysql

  Driver: com.mysql.jdbc.Driver

  URL:jdbc:mysql://localhost:3306/test

连接Oracle

  Driver:oracle:jdbc.driver.OracleDriver

  URL:jdbc:oracle:thin:@localhost:1521:[sid]

https://wenku.baidu.com/view/1be1450cb7daa58da0116c175f0e7cd1842518b4.html

posted on   阿洵  阅读(58)  评论(0编辑  收藏  举报

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

导航

统计

点击右上角即可分享
微信分享提示