<p style='margin: 0.8em 0px; padding: 0px; box-sizing: border-box; font-weight: 100; color: rgb(51, 51, 51); font-family: "microsoft yahei"; white-space: normal; background-color: rgb(255, 255, 255);'>1、各種資料庫對應的jar包</p> <table width="-690"><tbody> <tr class="firstRow"> <td width="209" valign="top" style="word-break: break-all;">資料庫型別</td> <td width="209" valign="top" style="word-break: break-all;">對應的Jar檔</td> </tr> <tr> <td width="209" valign="top" style="word-break: break-all;">Oracle 8i</td> <td width="209" valign="top" style="word-break: break-all;"> 2.jar 或jconn3 .jar</td> </tr> <tr> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">Mysql</td> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">mysql-connector-java-3.1.1-alpha-bin.jar 或mysql-connector-java-5.0.2-beta-bin.jar</td> </tr> <tr> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">. jar、msutil.jar、mssqlserver.jar</td> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td> </tr>SQLServer 2005<tr> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">sqljdbc.jar</td> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td> </tr>SQLServer jdbc.jar<tr> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;">DB2 </td> </tr>db2jcc.jar、db2jcc_license_cu.jar<tr> <td width="209" valign="top" style="word-break: break-all;"></td> <td width="209" valign="top" style="word-break: break-all;"> <p style='margin: 0.8em 0px; padding: 0px; box-sizing: border-box; font-weight: 100; color: rgb(51, 51, 51); font-family: "microsoft yahei"; white-space: normal; background-color: rgb(255, 255, 255);'>2、各種資料庫對應的驅動類別名稱和URL格式</p> <table width="-460"><tbody> <tr class="firstRow"> <td width="209" valign="top" style="word-break: break-all;">資料庫</td> <td width="209" valign="top" style="word-break: break-all;">驅動類別名稱</td> <td width="209" valign="top" style="word-break: break-all;">URL格</td> </tr> <tr> <td width="209" valign="top" style="word-break: break-all;">.Oracle</td>URL格<td width="209" valign="top" style="word-break: break-all;"></td>. @hostip:1521:dbname<td width="209" valign="top" style="word-break: break-all;"></td> </tr> <tr>Sybase<td width="209" valign="top" style="word-break: break-all;"></td>com.sybase.jdbc2.jdbc.SybDriver<td width="209" valign="top" style="word-break: break-all;"></td>jdbc:sybase:Tds:jdbc.SybDriver<td width="209" valign="top" style="word-break: break-all;"></td>jdbc:sybase:Tds:jdip:4100/db </tr> <tr>jdbc:mysql://hostip:3306/dbname?useUnicode=true&characterEncoding=GB<td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>SQLServer 2000<td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>com.microsoft.jdbc.://hostsoftServerDrive </tr> <tr> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>SQLServer 2005<td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>com.microsoft.sqlserver.jdbc.SQLServerDriver<td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>jdbc:sqlserver://hostip:1433;DatabaseName=d Driver</tr> <tr>jdbc:jtds:sqlserver://hostip:1433/dbname<td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td> <td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>DB2<td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>com.ibm.db2.jcc.DB2Driver</tr> <tr>jdbc:db2://hostipipg com.informix.jdbc.IfxDriver<td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td>jdbc:informix-sqli://hostip:port/dbname:informixserver=<dbse valign="top" colspan="1" rowspan="1" style="word-break: break-all;"><td valign="top" colspan="1" rowspan="1" style="word-break: break-all;"></td></dbse> </tr>以上就是 【SQLSQL 033】各種資料庫名稱的格式的內容,更多相關內容請關注PHP中文網(www.php.cn)! <tr> <td width="209" valign="top" style="word-break: break-all;"></td> <td width="209" valign="top" style="word-break: break-all;"></td> </tr> </tbody></table> </td> </tr> </tbody></table>