WIN/ODBC/Interbase

From: Date: Fri, 07 Jul 2000 15:10:34 +0000
Subject: WIN/ODBC/Interbase
Groups: php.db 
Request: Send a blank email to php-db+get-945@lists.php.net to get a copy of this message
I thought I had my problems with ODBC solved; they are only partially solved. I can use PHP 4 and ODBC to connect to an Access DB; I cannot connect to an Interbase DB. The DSN I am using works for other DBMS's; not for PHP 4 and odbc_connect(). In the INTERSOLV DSN, the Database Name is set to "c:\tmp\employee.gdb". Any suggestions? Todd <?php $user="sysdba"; $password="masterkey"; $host="employee_odbc"; $employeedb=odbc_connect($host,$user,$password); odbc_close($employeedb); ?> Warning: SQL error: [INTERSOLV][ODBC InterBase driver][InterBase]unavailable database, SQL state S1000 in SQLConnect in c:\inetpub\wwwroot\gdb_odbc.php on line 5 Warning: Supplied argument is not a valid ODBC-Link resource in c:\inetpub\wwwroot\gdb_odbc.php on line 6 Warning: Supplied argument is not a valid ODBC-Link resource in c:\inetpub\wwwroot\gdb_odbc.php on line 6 -- Todd Cary Ariste Software todd@aristesoftware.com

« previous php.db (#945) next »