Got Error as directory not found when trying to connect to database from db2cmd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shiney
    New Member
    • Aug 2015
    • 1

    Got Error as directory not found when trying to connect to database from db2cmd

    Hi,
    When i ran "db2 connect to devdb user <username> password <password> got error as
    SQL1031N The database directory cannot be found on the indicated file system.
    SQLSTATE=58031.
    I ran "db2 list db directory"

    Database 1 entry:
    C:\Windows\syst em32>db2 list db directory

    System Database Directory

    Number of entries in the directory = 1

    Database 1 entry:

    Database alias = DEVDB
    Database name = DEVDB
    Local database directory = C:
    Database release level = d.00
    Comment =
    Directory entry type = Indirect
    Catalog database partition number = 0
    Alternate server hostname =
    Alternate server port number =

    I ran db2 force stop command and restarted the system. From then i am facing this issue. Please help me to solve this issue
Working...