AnsweredAssumed Answered

odbc_connect not working

Question asked by jibardhan on Dec 9, 2016
Latest reply on Dec 12, 2016 by wimdecorte

$connection = odbc_connect(

"Driver={FileMaker ODBC};Server= db_hosted_server ;Database=FMFile;", $user, $pass );

 

OR

 

$connection = odbc_connect(

"odbc:Driver={FileMaker ODBC};Server= db_hosted_server ;Database=FMFile;", $user, $pass );

 

The PHP code is there in my local and the DB is in a different server.

 

Error coming on browser:-

--------------------------------------

Warning: odbc_connect(): SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect

 

Shall i have to install ODBC driver for FileMaker ?

 

 

 

 

Outcomes