ID: 17336 Updated by: [EMAIL PROTECTED] -Summary: mysql_query fails connecting to a sybase Application Server Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Sybase-ct (ctlib) related Operating System: Linux 2.4.17 RedHat 7.2 PHP Version: 4.1.2
Previous Comments: ------------------------------------------------------------------------ [2002-05-21 11:41:50] [EMAIL PROTECTED] The Problem is with Sybase's "Jaguar CTS component transaction server". On our application we use it to store session data between serveral web-servers. It's running a simple java-application. Yesterday i upgraded to 4.2.1 on a test Server. Everything worked fine on 4.1.2. Code example: $server = sybase_connect(SERVER,USER,PASS); sybase_query("exec PhpSession.Manager_de.setSessionData '0146119b4fb52b5e408243a37c118720cb','TEST'",$server); $query = sybase_query("exec PhpSession.Manager_de.getSessionData '0146119b4fb52b5e408243a37c118720cb'",$server); if(!$query) echo "QUERY FAILED"; You see that our Application is very easy: Just set or get Session-Data. This Code Sample works on all Live-Servers and on the Test Server running 4.1.2. I tried both: connect and pconnect, but 4.2.1 doesn't work. It even doesn't matter which Query i use, they all fail, without Error-Message. Furthermore, the normal sybase DB-Connections are working without Problems on 4.2.1. It's just this Application-Server connection which fails. I use the Sybase client 11.9.2 and Apache 1.3.24 (I tried 1.3.23, too). Thx ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17336&edit=1