|
|
Choosing A Webhost: |
Connection via ODBC / QT3-Plugin: msg#00206db.maxdb
Two years ago I wrote the sapdb-qt3 database plugin. This tool works by using libsqlod.so directly, e.g. without unixODBC. Now I tried now to do this again with and found out that it cannot longer connect. I'm wondering why. My connect operation looks like this: ---------------------------- QString connQStr = "UID=" + user + ";PWD=" + password + ";SERVERNODE=" + host + ";SERVERDB=" + db + ";TRACEFILENAME=test.trc"; qDebug("connQStr string is %s", connQStr.latin1()); SWORD cb; SQLCHAR connOut[255]; r = SQLDriverConnect( d->hDbc, NULL, (SQLCHAR*)connQStr.local8Bit().data(), SQL_NTS, connOut, 255, &cb, SQL_DRIVER_NOPROMPT); ---------------------------- So the connection string is ---------------------------- UID=test;PWD=test;SERVERNODE=mnz66;SERVERDB=TST;TRACEFILENAME=test.trc ---------------------------- The generated trace file looks like this: ---------------------------- PRODUCT : SAP DB C-PreComp Runtime VERSION : 7.4.3 BUILD : 032-121-068-842 DATASOURCE: SESSION : 1; SQLMODE : INTERN SERVERDB : TST SERVERNODE: mnz66 CONNECT "test " IDENTIFIED BY :A ISOLATION LEVEL 1 SQLCODE: -4008 Unknown user name/password combination SQLERRD(INDEX_5) : 1 SEC. FOR STATEMENT START : DATE : 2004-12-27 TIME : 0015:48:23 END : DATE : 2004-12-27 TIME : 0015:48:24 SQCFINISH ---------------------------- (my DB server is 7.4.3.32) However, I can connect to the database via python or dbmcli: ---------------------------- mnz66:/usr/src/sapdb-qt3/2-infos# dbmcli -d TST -u dba,dba -uSQL test,test dbmcli on TST>sql_execute select * from dual OK END 'a' --- ---------------------------- Any idea of what is wrong here? -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | ISO-8859-2 and ORDER BY, Jarosław Szczepankiewicz |
|---|---|
| Next by Date: | RE: Connection via ODBC / QT3-Plugin, Schroeder, Alexander |
| Previous by Thread: | ISO-8859-2 and ORDER BY, Jarosław Szczepankiewicz |
| Next by Thread: | RE: Connection via ODBC / QT3-Plugin, Schroeder, Alexander |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|