For me *LOCAL did work, as well as the actual database name. I'm on a
stand alone box with full access, so my situation is different. I have
my user and password.
Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550
-----Original Message-----
From: OpenSource [mailto:opensource-bounces@xxxxxxxxxxxx] On Behalf Of
John Yeung
Sent: Thursday, July 7, 2016 4:24 PM
To: IBMi Open Source Roundtable
Subject: Re: [IBMiOSS] IBM i python ibm_db_dbi example usage
On Thu, Jul 7, 2016 at 4:45 PM, Kevin Bucknum
<Kevin@xxxxxxxxxxxxxxxxxxx> wrote:
ibm_db_conn = ibm_db.connect(database,user,password)
OK, but how do you determine what those three parameters are?
I know, it sounds kind of silly, but I don't know what my database is,
and I'm not sure if I know what my password is. I'm accessing this
through Litmis Spaces, which provides an SSH connection (not 5250) and
seems to only have access to PASE (not native CL commands).
If '*LOCAL' isn't an acceptable value for database, how do I find out
what my database is, using only PASE commands? Also, my Litmis Space is
authenticated via GitHub, so is my password the same as my GitHub
password? I kind of doubt it, but maybe?
John Y.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list To
post a message email: OpenSource@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/opensource.
As an Amazon Associate we earn from qualifying purchases.