3 Replies Latest reply on Dec 12, 2016 4:55 AM by wimdecorte

    odbc_connect not working

    jibardhan

      $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 ?