The PDO_PGSQL DSN should be seperated by semi-colons not spaces. It should follow the convention like the rest of the PDO DSNs.
'pgsql:dbname=example;user=nobody;password=change_me;host=localhost'
![]() | PDO_PGSQL DSN说明The PDO_PGSQL Data Source Name (DSN) is composed of the following elements, delimited by spaces:
![]()
Chris C.
15-Nov-2005 01:12
The PDO_PGSQL DSN should be seperated by semi-colons not spaces. It should follow the convention like the rest of the PDO DSNs. | ![]() |