Database | Driver Name | Driver URL |
---|---|---|
ODBC driver | sun.jdbc.odbc.JdbcOdbcDriver | jdbc:odbc:name |
DB2 | COM.ibm.db2.jdbc.net.DB2Driver | jdbc:db2://aServer.myCompany.com:50002/name |
Sybase | com.sybase.jdbc.SybDriver | jdbc:sybase:Tds:aServer.myCompany.com:2025 |
MySQL | com.mysql.jdbc.Driver | jdbc:mysql://hostname:3306/dbname?useUnicode=true&characterEncoding=GBK |
SQL Server | com.microsoft.jdbc.sqlserver.SQLServerDriver | jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=WapSvc;User=sa;Password=pwd |
Informix | com.informix.jdbc.IfxDriver | jdbc:informix-sqli://hostname:1526/dbname:INFORMIXSERVER=informixservername;user=username;password=password |
Oracle | oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@hostname:1521: |
Postgresql | org.postgresql.Driver | jdbc:postgresql://localhost/soft |
Derby | org.apache.derby.jdbc.ClientDriver | jdbc:derby://localhost:1527/databaseName;create=true |
常用 JDBC 驱动名字和 URL 列表
最新推荐文章于 2024-07-18 08:35:36 发布