ID: 9955
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: ODBC related
Assigned To: 
Comments:



Previous Comments:
---------------------------------------------------------------------------

[2001-03-23 09:47:26] [EMAIL PROTECTED]
OS: WinNT 4.0 SP
PHP version: 4.0.0
Database: DB2 (remote on network)
Network protocol: TCP/IP

In a previous note from yesterday, Chris explained that there is no ODBC involved in 
connecting to DB2, the functions just share names:

"Note: There is no ODBC involved when connecting to the above databases. The functions 
that you use to speak natively to them just happen to share the same names and syntax 
as the ODBC functions.
<SNIP>

-Chris"

When I tried to use ODBC_CONNECT('ip_address', 'user', 'password');

I got the following ODBC error back from the operating system:

"Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and 
no default driver specified, SQL state IM002 in SQLConnect in e:wwwdo_dbtest.php on 
line 7
Couldn't connect."

This looks like to me that ODBC IS in fact being called. and it is causing 
interference with me getting a connection to my DB2 database.

What could be wrong? Does the newer releases of PHP resolve this or am I doing 
something wrong on my end?

Thank you.

Chris Streeter

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9955&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to