odbc unable to connect
am 04.05.2006 10:29:24 von madunix------=_Part_81223_12812838.1146731364081
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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=3Dodbc_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 10.2.0.1.0 - Production on Thu May 4 11:24:18 200=
6
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
------=_Part_81223_12812838.1146731364081--