JDBC for SQL Server for WebSphere MQ Explorer

Source: Internet
Author: User

One, the IBM WebSphere MQ7.0 JDBC Support database has:

    • DB2
    • Informix
    • Informix_with_date_format
    • Microsoft_sql_server
    • Oracle
    • Sybase_jconnect6_05

In this paper, we use the JDBC for server R2 as an example to build JDBC in two ways, as follows:

II. JDBC for SQL Server Building

1. Open MQ Resource Manager, WebSphere MQ Explorer

2. Right click on "Configurable Service" and select "New"-"configurable service"

3. Enter the JDBC name, SQL Server, select the type: jdbcproviders, select the template as: Microsoft_sql_server

4. Modify the values corresponding to the parameters as follows:

5, set the security ID: Mysqlserversi, and bind user name password-u cqmstc-p CQMSTC

Open the MB command Console (refer to http://www.cnblogs.com/hhl-kf/archive/2012/09/25/2694052.html)

Mqsisetdbparms mb7broker-n jdbc::mysqlserversi-u cqmstc-p CQMSTC

6. Hook the security ID to the configuration service

Mqsichangeproperties mb7broker-c jdbcproviders-o sqlserver-n securityidentity-v MySqlServerSI

7. Restart agent, execution Group: mqsireload mb7broker-e Default

8. Delete Configuration Service
Mqsideleteconfigurableservice mb7broker-c jdbcproviders-o SQL Server

9. Command View Configuration service
Mqsireportproperties Mb7broker-o sqlserver-c Jdbcproviders-r

10, the Interface view Configuration service, you can select the Configuration service, right-click "Properties" to edit the changes

Note: Connection string "Jdbc:sqlserver://[servername]:[portnumber];D Atabasename=[databasename];user=[user];p Assword=[password ] "cannot be modified, it will be reported as" user name "" Login Failed ", because the connection string modified, the user is not recognized

Reference: http://www.cnblogs.com/hhl-kf/p/MQ_oracle_jdbc.html

JDBC for SQL Server for WebSphere MQ Explorer

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.