prabakaran a · Feb 3, 2017

ODBC_connection problem

Hi ,

     i installed and configure the cache odbc ODBC-2016. 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.


Prabakran A.

0 1,315
Discussion (3)2
Log in or sign up to continue

Is there a particular error you are receiving?

PHP Warning:  odbc_connect(): SQL error: [unixODBC][Cache ODBC][State : 08S01][Native Code 461]\n[]\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.