Subj: Connect Oracle 10g using ODBC on Linux platform

I found message when I connect to ORACLE through my Explorer. Here:
Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Data source
name not found,
and no default driver specified, SQL state IM002 in SQLConnect in
/srv/www/htdocs/sdc/ora_test.php on line 8

my PHP script:
$conn=odbc_connect ("dbx","userx","passwdx");
echo $conn;

Server: SLES 9 Linux king 2.6.5-7.191-bigsmp #1 SMP Tue Jun 28 14:58:56 UTC
2005 i686 i686 i386 GNU/Linux
Oracle: SQL*Plus: Release - Production on Thu May 4 11:24:18 2006
PHP: PHP 4.3.4 (cli) (built: Jul  1 2004 16:44:46)/Copyright (c) 1997-2003
The PHP Group/Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
ODBC: ODBC Support enabled

Can you tell me why ?

Master of Science in Electrical Engineering (TH Aachen)
Communications/Network and Systems Engineer
IBM AIX System Specialist/CCNP/CCSP

Reply via email to