1. 程式人生 > >JDBC數據庫連接參數備忘

JDBC數據庫連接參數備忘

ddr sqli 數據庫 數據庫連接 server connector local pac thead

databasedriverurlremark
MySql com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/xxx mysql-connector-java 5
MySql com.mysql.cj.jdbc.Driver jdbc:mysql://localhost:3306/xxx?serverTimezone=UTC mysql-connector-java 6
SQLServer2005+ com.microsoft.sqlserver.jdbc.SQLServerDriver jdbc:sqlserver://localhost:1433;DatabaseName=xxx
oracle oracle.jdbc.OracleDriver jdbc:oracle:thin:@localhost:1521:xxx
sqlite3 org.sqlite.JDBC jdbc:sqlite:D:/xxx.db
derby org.apache.derby.jdbc.EmbeddedDriver jdbc:derby:D:/simpleDb;create=true
hsqldb org.hsqldb.jdbcDriver jdbc:hsqldb:mem:.

JDBC數據庫連接參數備忘