DB2 ODBC.ini questions - please help
From: Shannon Sumner (ssumner_at_countrycurtains.com)
Date: 03/24/04
- Next message: Adam: "Re: Simplify the Linux commands"
- Previous message: Bill Marcum: "Re: Uh oh! RH7.3 Kernel Problems!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Mar 2004 09:03:52 -0500
Hello all,
I'm using Bryan Mills post located at
http://bryanmills.net:8086/archives/000099.html to connect PHP on my
Linux Server to an Access database located on my network. I'm having no
problems installing UnixODBC and MDBTools. I can get MDBTools to
connect to the database so I know it's not a network issue. I've
completed Bryan Mills installation steps word for word and yet have not
been able to get PHP to access the data. Here's the error I get:
odbc_connect(): SQL error: [IBM][CLI Driver] SQL1013N The database alias
name or database name "GAL" could not be found. SQLSTATE=42705 , SQL
state 08001 in SQLConnect in /home/mis/access.php on line 2
I'm convinced that since I have IBM DB2 Connect personal addition
installed on my server and use the PHP function odbc_connect to access
data on my AS400 that I cannot use this function to access databases of
another type. I'm also convinced that the DB2 Connect installation has
altered my system so that ODBC.ini no longer contains the information
about ODBC drivers.
Does anyone know how to fix this problem? Does anyone know what file
IBM DB2 connect uses to access it's database drivers? If I had this
information - perhaps I could alter this file as I would the ODBC.ini
and receive the correct data.
As you can see I'm totally lost. Any help would be appreciated.
Thanks,
Shannon Sumner
- Next message: Adam: "Re: Simplify the Linux commands"
- Previous message: Bill Marcum: "Re: Uh oh! RH7.3 Kernel Problems!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|