When TOAD is connected to DB2, SQL1460N is reported.

Source: Internet
Author: User

When TOAD is connected to DB2, SQL1460N is reported.

Tests should be performed between different versions of DB2 over the past few days. DB2 V9.7.4 64bit has been installed before, DB2 V9.7.6 has been installed after the test is uninstalled, the database is created, and the SQL1406N error is reported when the toad connection is used.

In this case, I first check whether my DB2COMM = TCPIP is set and check the result.

C: \> db2set-all | grep DB2COMM
[I] DB2COMM = TCPIP
[G] DB2COMM = TCPIP

No problem

Then, you can view the SVECNAME parameter of dbm.

C: \> db2 get dbm cfg | grep SVC
TCP/IP service name (SVCENAME) = db2c_DB2
SSL Service name (SSL_SVCENAME) =

No problem.

View the etc/services file discovery

Db2c_DB2 50001/tcp -- how to change to 50001

I have always set 50000 in toad. The default value is.

Change to 50000

Restart the database. The TOAD connection is normal.

This article permanently updates the link address:

Related Article

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.