SSL mode changed to disable
This commit is contained in:
@@ -33,7 +33,7 @@ try {
|
||||
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
|
||||
PDO::ATTR_EMULATE_PREPARES => false
|
||||
];
|
||||
$dsn = "pgsql:host=$host;dbname=$db;port=$port";
|
||||
$dsn = "pgsql:host=$host;dbname=$db;port=$port;sslmode=disable";
|
||||
$pdo = new PDO($dsn, $user, $pass, $opt);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user