Thursday, December 12, 2013

Adding SQL Server JDBC Connector in Mulesoft

1. Microsoft JDBC Driver for SQL Server can be downloaded here: http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx

2. Add theSQL Server JDBC connector to your project: 
Project -->Build Path --> Add External Archives...


















3. In the connections explorer add a new connection global element for data source by selecting MS SQL Data Source
































4. Fill in connection information.  JDBC urls for SQL Server should be of form: 

For default instance on default port 1433


jdbc:sqlserver://servername:1433;databaseName=databasename


For named instance with non-default port:


jdbc:sqlserver://servername\instancename:port;databaseName=databasename







































5. Now create database connection global elment and select the sql server database connection defined in steps 




























Note that the SQL Server Browser service may need to be active for JDBC to see the server.

Additional info and Mulesoft tutorial:

http://www.mulesoft.org/connectors/microsoft-sql-server-connector

2 comments:

  1. nice information..thanks for providing valuable information about mule .

    Mulesoft online training hyderabad

    ReplyDelete
  2. It's A Great Pleasure reading your Article, learned a lot of new things, we have to keep on updating it Mulesoft certification training Thanks for posting.

    ReplyDelete