Tuesday, March 26, 2013

ODBC_CONNECT Fatal Error in PHP on Apache running on RHEL

Sometimes you might encounter a fatal error on your attempt to connect to Netezza database from your PHP application. Here are the things to check


  1. Check if a driver manager like unixODBC is installed
  2. Check if the odbc.ini and odbcinst.ini files are placed in their right location
  3. Check if a user or system DSN has been created
  4. Check if you can connect to the database using isql
  5. Check if the php-odbc package is installed, if not then install it by executing yum install php-odbc

No comments:

The latest #BigData #Analytics Daily! https://t.co/IvIGAevVLn Thanks to @mauriciogarciar @hivemaster @EnvironicsA #bigdata #analytics

The latest #BigData #Analytics Daily! https://t.co/IvIGAevVLn Thanks to @mauriciogarciar @hivemaster @EnvironicsA #bigdata #analytics Source...