Db2

 View Only

db2 in windows container

  • 1.  db2 in windows container

    Posted Wed December 01, 2021 04:50 PM
    Hi
    There are a lot of info about running db2 in linux container, i'm facing some issues with making db2 connection from windows container ( where guest os is windows), anyone had experience with that?
    I have a windows image with db2 driver 11.1 installed, but db2 command doesn't work, neither works  application with db2 api:

    C:\>db2

    SQL10007N Message "-1390" could not be retrieved.  Reason code: "5".


    app:

    retcode = SQLAllocHandle(SQL_HANDLE_ENV, SQL_NULL_HANDLE, &henv);
    returns SQL_ERROR, and there is no way to get Diag info (error message is just empty)

    I'm not that worried about 'db2' giving me an error, rather that i can't allocate driver's resources



    ------------------------------
    A a
    ------------------------------

    #Db2