各個資料庫的預設連接埠__資料庫

來源:互聯網
上載者:User
     關係型資料庫 一 :Oracle
驅動:oracle.jdbc.driver.OracleDriver
URL:jdbc:oracle:thin:@<machine_name><:port>:dbname
註:machine_name:資料庫所在的機器的名稱,如果是本機則是127.0.0.1或者是localhost,如果是遠端連線,則是遠端IP地址;(要訪問是資料庫的地址,如果是本機就是localhost,如果是遠端連線,則為遠程IP地址)
port:連接埠號碼,預設是1521
二:SQL Server
驅動:com.microsoft.jdbc.sqlserver.SQLServerDriver
URL:jdbc:microsoft:sqlserver://<machine_name><:port>;DatabaseName=<dbname>
註:machine_name:資料庫所在的機器的名稱,如果是本機則是127.0.0.1或者是localhost,如果是遠端連線,則是遠端IP地址;
port:連接埠號碼,預設是1433
三:MySQL
驅動:org.gjt.mm.mysql.Driver
URL:jdbc:mysql://<machine_name><:port>/dbname
註:machine_name:資料庫所在的機器的名稱,如果是本機則是127.0.0.1或者是localhost,如果是遠端連線,則是遠端IP地址; 
port:連接埠號碼,預設3306
四:pointbase
驅動:com.pointbase.jdbc.jdbcUniversalDriver
URL:jdbc:pointbase:server://<machine_name><:port>/dbname
註:machine_name:資料庫所在的機器的名稱,如果是本機則是127.0.0.1或者是localhost,如果是遠端連線,則是遠端IP地址;
port:連接埠號碼,預設是9092
五:DB2
驅動:com.ibm.db2.jdbc.app.DB2Driver
URL:jdbc:db2://<machine_name><:port>/dbname
註:machine_name:資料庫所在的機器的名稱,如果是本機則是127.0.0.1或者是localhost,如果是遠端連線,則是遠端IP地址;
port:連接埠號碼,預設是5000    NOSQL資料庫(全稱為not only SQL,是一種非關係型的資料庫)
1.MongoDB
port:預設連接埠號碼,27017
2.Redis
port:預設連接埠號碼,6379
3.memcached
port:預設連接埠號碼,11211 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.