Using Python (2.3.3):

from sapdb import dbapi
dbConn = dbapi.connect( "INFEED", "archive", "Wire", host="primdb" )

returns with:

sql.SQLError: [-4008] (at 1) Unknown user name/password combination
Exception exceptions.AttributeError: "Connection instance has no attribute '_Connection__connection'" in <bound method Connection.close of <sapdb.dbapi.Connection instance at 0x40736c4c>> ignored


with sqlcli:

bash-2.05# ./sqlcli -n primdb -d Wire -u INFEED,archive
  _____             ____  ____
 / ___/____ _____  / __ \/ __ )
 \__ \/ __ `/ __ \/ / / / __  |
___/ / /_/ / /_/ / /_/ / /_/ /
/____/\__,_/ .___/_____/_____/
         /_/ www.sapdb.org

Welcome to the SAP DB interactive terminal.

Type:  \h for help with commands
      \q to quit
Wire => \s
host          : primdb
database      : Wire
user          : INFEED
kernel version: 7.05.00
sapdbc version: libSQLDBC 7.5.0    BUILD 005-121-054-885
unicode       : NO
default code  : unknown


I have tried all variations of case with the Python version, and get the same error each time.


Regards

John
Jean-Michel OLTRA wrote:

Le mardi 20 janvier 2004, John Abel a �crit...

bonjour,




using Python. I can connect using sqlcli, but with Python, I get Unknown username/password combination. Is there some format that I should be using with Python? I have tried every combination of upper/lower case for the username and password, but get the same error


Could you give us a sample of connection string ?





-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to