Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009
    Posts
    3

    Red face Unanswered: How do I check the port of my db2 and password

    Hi all,
    after I install db2 on solaris I try to connect to db2 on netbean I add db2jcc.jar , I have
    localhost,
    50000,

    sample,
    user name
    same as I connect to my db on
    # cd /opt/IBM/db2/V9.7
    # su - db2inst2
    mypassworsd
    but I get error code on -4499 sqlstate=08001, I guess the only possible reason is my password wrong or the port is wrong ,
    or what else mistake I made ,
    thank you!

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    What userid where you logged in as when you ran db2sampl?

    Go back to that userid and type the following:

    db2 connect to sample
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •