Hi,

To summarize an internal discussion: The password string in maxdb_connect() is 
case sensitive. If you create a new user with MaxDB, as long as the username 
and password are not enclosed within quotation marks, the username and password 
are set to uppercase by the database kernel. For a case sensitive connect like 
in maxdb_connect() you have to specify the username and password in uppercase 
letters.

After connecting with uppercase password, the problem described below was 
solved.

Thomas Simenec
SAP Labs Berlin


-----Original Message-----
From: Simenec, Thomas [mailto:[EMAIL PROTECTED] 
Sent: Dienstag, 1. Februar 2005 15:42
To: Sven K�hler
Cc: [email protected]
Subject: RE: [BUG?] unable to connect with PHP

Hi,

As I can not reproduce your connect problem using a UNICODE database, please 
send me a SQLDBC SQL trace. You can switch on this trace by

  sqldbc_cons config trace sql on

You get the location of the trace file by

  sqldbc_cons show all

Regards,

Thomas Simenec
SAP Labs Berlin

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sven K�hler
Sent: Dienstag, 1. Februar 2005 14:32
To: [email protected]
Subject: [BUG?] unable to connect with PHP

Hi,

the following PHP-code won't connect to my database:

<?
   $link = maxdb_connect("host", "USER", "password", "DATABASE");
?>

Username and Databasename are given in uppercase.

The error message is:
Warning: maxdb_connect(): -4008 POS(1) Unknown user name/password
combination [08004] in ...

The same access data works with DBD::MaxDB, SQLStudio and the 
JDBC-driver. The database is a UNICODE database (UNICODE=yes, 
DEFAULT_CODE=UNICODE).

Thx
   Sven



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


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


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

Reply via email to