PDO_4D-DSN(3) 1 PDO_4D-DSN(3)
PDO_4D DSN - Connecting to 4D SQL server
The PDO_4D DSN consists of:
o DSN prefix
- The DSN prefix is 4D:.
o host - The host on which the 4D SQL server is.
o port - The port number for the server. This is optional.
o user - The login name when connecting to the database.
o password - The password for the above login.
o dbname - The name of the database. This parameter is optional, and it is not used.
o charset - The 4D character set.
Example #1
DSN examples for PDO_4D
The following examples has two DSN for PDO_4D, that connects to a 4D database :
4D:host=localhost;charset=UTF-8
4D:host=localhost
4D:
PHP Documentation Group PDO_4D-DSN(3)