開發程式時各種 資料庫url 設定方法

來源:互聯網
上載者:User

磁碟機:
*  1. Oracle: oracle.jdbc.driver.OracleDriver
*  2. Access: sun.jdbc.odbc.JdbcOdbcDriver
*  3. SQL Server: com.microsoft.jdbc.sqlserver.SQLServerDriver
*  4. DB2: com.ibm.db2.jdbc.app.DB2Driver
*  5. Informix: com.informix.jdbc.IfxDriver
*  6. Sybase: com.sybase.jdbc.SybDriver
*  7. MySQL: com.mysql.jdbc.Driver

資料庫類型
*  1. Oracle url樣本:
"jdbc:oracle:thin:@localhost:1521:orcl"
*  2. Access url樣本:
"jdbc:odbc:Access"
*  3. SQLServer url樣本:
"jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=pubs"
*  4. DB2 url樣本:
"jdbc:db2://localhost:5000/sample"
*  5. Informix url樣本:
       "jdbc:informix-sqli://123.45.67.89:1533/testDB:INFORMIXSERVER=myserver"
*  6. Sybase url樣本:
"jdbc:sybase:Tds:localhost:5007/tsdata"
*  7. MySQL url樣本:

"jdbc:mysql://localhost/test?user=root&password=root&useUnicode=true&characterEncoding=utf-8"


驅動免費:http://download.csdn.net/detail/love254443233/4422799

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.