RE: [PHP-DB] WIN/ODBC/Interbase

From: Date: Fri, 07 Jul 2000 15:35:24 +0000
Subject: RE: [PHP-DB] WIN/ODBC/Interbase
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-948@lists.php.net to get a copy of this message
Exactly the same problem here. It would be great if someone could give us a hint. Thanks -----Original Message----- From: Todd Cary [mailto:todd@aristesoftware.com] Sent: Friday, July 07, 2000 5:11 PM To: php-db@lists.php.net Subject: [PHP-DB] WIN/ODBC/Interbase 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#948) next »