Hello!
Not sure where my previous message went.
Anyway, I have a big problem: I have a custom application and a custom DAL (= Data Access Library).
The library works very well with many other RDBMSes.
This is the command I send to turn the docker container on:
docker run -itd --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=<MyPW> -e DBNAME=testdb -v :"D:\DB2\ProgramData\IBM\DB2\DOCKER-INSTANCE":/database ibmcom/db2
You might surmise that this command is eerily similar to the one in the docos, because it is!
When I try connecting, what I get is "USERNAME AND/OR PASSWORD INVALID", reason 24, SQL State 08001.
I am sure that the password is right (given that, you know, I copied it from the command!) so the problem must surely be in the username.
My assumption here would be that the username ought ti be "mydb2" but apparently it's not because if it were then it would be right. I did try db2admin but that didn't work either.
I wonder what I am missing.
Any ideas?
Thanks!
A
------------------------------
Andrea Raimondi
------------------------------
#Db2