php-developer-list | 2000111
Date: 11/14/00
- Next message: joey <email protected>: "[PHP-DEV] PHP 4.0 Bug #7788 Updated: Make fails with sybase-ct, cannot find ctpublic.h"
- Previous message: Chuck Hagenbuch: "Re: [PHP-DEV] latest cvs: crash in str_replace()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: arnoldg <email protected>
Operating system: Win98 SE
PHP version: 4.0.3pl1
PHP Bug Type: ODBC related
Bug description: Trouble Finding Datasource
I am using PHP 4.0.3pl1 in conjunction with Apache 1.3.12 (Win32) under MS Windows 98 Second Edition. When trying to connect to a Sybase Adaptive Server Anywhere 7.0 datasource running on Win98 I receive the error:
Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in functions.odbc.php on line 46
ODBC connection failed.
I successfully used the same code when running PHP 4.0.1 compiled with OpenLink ODBC support in conjunction with Apache 1.3.9 under Linux when connecting to a Sybase Adaptive Server Anywhere 7.0 datasource running on WinNT.
The database server is named "dbweb" and the datasource name is "webservices". I can successfully connect to the database using the "Test Connection" button in the ODBC Control Panel. The DSN is setup as a "System DSN". Also, I can connect to the database using the Interactive SQL Monitor provided by Sybase.
Any suggestions would be greatly appreciated.
-- Edit Bug report at: http://bugs.php.net/?id=7819&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: joey <email protected>: "[PHP-DEV] PHP 4.0 Bug #7788 Updated: Make fails with sybase-ct, cannot find ctpublic.h"
- Previous message: Chuck Hagenbuch: "Re: [PHP-DEV] latest cvs: crash in str_replace()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

