#34686 [Opn]: ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829]

From: Date: Fri, 30 Sep 2005 07:23:17 +0000
Subject: #34686 [Opn]: ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829]
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85789@lists.php.net to get a copy of this message
ID: 34686 User updated by: douglas at elementech dot co dot za Reported By: douglas at elementech dot co dot za Status: Open Bug Type: Informix related Operating System: Red Hat Linux Enterprise 3 PHP Version: 5.0.5 New Comment: The ifx_error and ifx_errormsg return: E [SQLSTATE=IX 001 SQLCODE=-1829] and Unable to load locale categories. Previous Comments: ------------------------------------------------------------------------ [2005-09-30 09:19:02] douglas at elementech dot co dot za Description: ------------ I have configured and installed PHP successfully, everything works except when I try and create a Informix DB Connection: Reproduce code: --------------- <?php $conn = ifx_connect("db@host", "username", "password"); ?> I get the following error: Warning: ifx_connect() [function.ifx-connect]: E [SQLSTATE=IX 001 SQLCODE=-1829] in /www/htdocs/test.php on line 2 PHP was configured with: ./configure --with-mysql=/usr/local/mysql --with-informix=/opt/informix --with-apxs2=/www/bin/apxs --with-gd --with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --enable-ftp --with-mssql=/usr/local --enable-track-vars --with-freetype --with-pdflib=/usr/local/pdflib Both $INFORMIXDIR and $INFORMIXSERVER have been set. Expected result: ---------------- Create the DB connection. Any help or advice would be appreciated. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34686&edit=1

« previous php.bugs (#85789) next »