DB2 WIN7 WIN8 The database directory is not found in the indicated file system

Source: Internet
Author: User
Tags db2 db2 client

Foreword : Win7 Some software under the abnormal, with Win7 's authority has very big relation.

After installing the DB2 9.7 client under Win7, run Db2cmd in CMD to start the CLP, and any commands that enter DB2 are displayed: sql5005c System ErrorThen try to use the shortcut key in the Start Menu "Command Window-manager", found DB2 command available, explore the original, the original run Db2cmd must be AdministratorTo run the identity.     Although my current user workman is the administrator, but it is not. (ppjava2009 comment, run db2cmd change to run C:\ibm\sqllib\bin>db2cwadmin.bat on the line) view Db2cwadmin.bat, is an environment initialization script, Start menu shortcut key " Command Window-Manager "is to point to the Db2cwadmin.bat run JMeter for database testing, the user Workman run JMeter, the result of execution times error:       sql1031n The database directory was not found in the indicated file system. sqlstate=58031      This is obviously an exception when calling the DB2 client, and the DB2 client is good, I can connect to the server's DB2 database on the client, so DB2 client should be OK. When I run JMeter, I Run as Administrator, connect the database properly.

DB2 WIN7 WIN8 The database directory is not found in the indicated file system

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.