Product Documentation

FairCom SQL for PHP PDO

Previous Topic

Next Topic

Connection String

A connection string is required for every SQL interface. The connection string with all options, including TSL/SSL support, is shown below:

ctsql:port=6597;host=localhost;dbname=ctreeSQL;ssl=BASIC', 'admin', 'ADMIN'

The DSN portion is a single string delimited by semicolons. The rest of the options are comma delimited.

  • port=
  • host=
  • dbname=

TOCIndex