(UNIX)Getting error while connecting to database.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bhavanirayala
    New Member
    • Jul 2007
    • 25

    (UNIX)Getting error while connecting to database.

    Hi,

    I am commecting to databse using
    fmczrdb -o=b -u$username -p$password -yFMC

    Error is:::

    DBI->connect(FMCD B) failed: [IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001

    If I hardcode the values of username and password like

    fmczrdb -o=b -ufmc-ppassword -yFMC


    Then it is working fine.

    What is the problem If we use the variables...???

    Please help me.
  • fuscoa
    New Member
    • Aug 2008
    • 1

    #2
    Hello,

    Did you find a solution to your SQL30082N DB2 error. I have the same issue. I am using DB2 on a Windows Server 2003 64 bit platform.

    Thanks

    Anthony

    Comment

    Working...