ODBC_connection problem

Primary tabs

Hi ,

     i installed and configure the cache odbc ODBC-2016.1.1.107.0-lnxrhx64.tar in centos7.

     it connected  while executing  in terminal .(i.e isql -v DSN) 

     odbc_connect work in executing  php shell script  in terimal.

     but odbc_connect not working in PHP web applcation.

Thanks,

Prabakran A.

  • 0
  • 0
  • 879
  • 3
  • 0

Comments

PHP Warning:  odbc_connect(): SQL error: [unixODBC][Cache ODBC][State : 08S01][Native Code 461]\n[libcacheodbcur6435.so]\nCommunication link failure, SQL state 08S01 in SQLConnect in /var/www/html/sample/index.php on line 43

i got this error .

The USER DATA SOURCES is not working but SYSTEM DSN is working.