[rhn-users] ODBC on RHEL4
Chinmin Zhou
Chinmin_Zhou at tripplite.com
Tue Feb 21 16:46:45 UTC 2006
I am trying to using ODBC from my PHP application to connect to (remote or
local) database (MySQL for this step).
I reinstalled RHEL4 and did a install everything. After install, I found
out php-odbc and unixODBC are all installed and unixODBC is read to use.
I brought up ODBCConfig and added the DSN entry to connect to MySQL
localhost. When I try to do - isql -v myDSN from command line , it
works well, I can get the data from the local MySQL database. But then
when I tried to do it from a php test script using odbc_connect()
function, it does not work at all. My guess is: PHP can not communicate
with unixODBC. How do I make php-odbc to talk to unixODBC?
Can anyone who configured ODBC on RHEL4 (I don't use Postgre DB) get me
some advise?
Thanks for your help!
CZ.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20060221/17d4f961/attachment.htm>
More information about the rhn-users
mailing list