读书人

mule3.4.0跟 Jdbc 不同数据库的链接方

发布时间: 2013-08-29 10:33:02 作者: rapoo

mule3.4.0和 Jdbc 不同数据库的链接方式

derby数据库:

?<jdbc:derby-data-source name="jdbcDataSource2" url="jdbc:derby:muleEmbeddedDB"/>

db2数据库:

??? <jdbc:db2-data-source name="db2ds" url="jdbc:db2:muleDatabase" database="mule" user="admin" password="secret"/>

MSSQL数据库:

??? <!-- this data source has both url and host configured, can only be one of both -->
??? <jdbc:mssql-data-source name="mysqlDs" url="jdbc:sqlserver://localhost/mule"
???????????????????????????? host="localhost" user="scott" password="tiger"/>

MySQL数据库:

??? <!-- this data source has both url and database configured, can only be one of both -->
??? <jdbc:mysql-data-source name="mysqlDs" url="jdbc:mysql://localhost/mule" database="mule"
??????? user="mysql" password="secret"/>

?

读书人网 >其他数据库

热点推荐