hello @johnny
I am using Grocery CRUD Enterprise with Laravel 10 and need to set 'trust_server_certificate' => true
for the database connection. However, I have configured it, but the error still persists.
return [
‘adapter’ => [
‘driver’ => ‘Pdo’,
‘dsn’ => ‘sqlsrv:server = tcp:’ . $databaseConfig[‘host’] . '; Database = ’ . $databaseConfig[‘database’],
‘database’ => $databaseConfig[‘database’],
‘username’ => $databaseConfig[‘username’],
‘password’ => $databaseConfig[‘password’],
‘options’ => [
‘trust_server_certificate’ => true,
],
],
];
Could you please guide me on how to resolve this?
Best regards,
Nasrul