Various database URL setting methods during program development

Source: Internet
Author: User

Drive:
* 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

Database Type
* 1. Oracle URL example:
"JDBC: oracle: thin: @ localhost: 1521: orcl"
* 2. Access URL example:
"JDBC: ODBC: Access"
* 3. sqlserver URL example:
"JDBC: Microsoft: sqlserver: // localhost: 1433; databasename = pubs"
* 4. DB2 URL example:
"JDBC: DB2: // localhost: 5000/sample"
* 5. Informix URL example:
"JDBC: Informix-sqli: // 123.45.67.89: 1533/testdb: informixserver = myserver"
* 6. Sybase URL example:
"JDBC: Sybase: TDS: localhost: 5007/tsdata"
* 7. MySQL URL example:

"JDBC: mysql: // localhost/test? User = root & Password = root & useunicode = true & characterencoding = UTF-8"


Driver free: http://download.csdn.net/detail/love254443233/4422799

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.