数据库连接URL大全(by quqi99)

数据库连接URL大全(by quqi99)



作者:张华 发表于:2009-10-10
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本版权声明。
http://blog.csdn.net/quqi99

最近,安装了Oracle, postgresql, mysql, db2, sybase, sqlserver, informix几种数据库,其连接url如下:

Oracle (ojdbc14.jar) jdbc:oracle:thin:@ localhost:1521: test

Postgresql jdbc:postgresql://localhost:5432/test

Mysql jdbc:mysql://192.168.1.51:3306/test?useUnicode=true&characterEncoding=gbk

Db2 (db2java.zip/db2jcc.jar) jdbc:db2://192.168.1.100:50000/test

Sybase (jconn2.jar) jdbc:sybase:Tds:192.168.1.51:5000/test

Sqlserver jtds jdbc:jtds:sqlserver://192.168.1.51:1433/test

Sqlserver (sqljdbc.jar) jdbc:microsoft:sqlserver://192.168.1.51:1433;DatabaseName=test

Informix (ifxjdbc.jar &ifxjdbcx.jar)

jdbc:informix-sqli://192.168.1.51:9088/sysuser:informixserver=ol_svr_custom;NEWLOCALE=zh_cn,en_us;NEWCODESET=gbk,8859_1,819;

你可能感兴趣的:(数据库连接)