Hello, everyone,
I’m relatively new to Wappler. I can’t query my MSSQL server. The server connection test works. However, no queries are executed. Error code: dmxConnectLib\lib\db\Connection.php",“line”:103,“message”:“could not find driver”
PDO_Extension is installed.
Manual queries work: like ->
$conn = new PDO("sqlsrv:Server = $db_SQL_server;
Database = $db_sql_name;
TrustServerCertificate = true",
$db_SQL_user,
$db_SQL_pass,
array(
//PDO::ATTR_PERSISTENT => true,
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
)
I suspect it is due to -> TrustServerCertificate = true", in the connection string
Can anybody help me?
Community Page
Last updated:
Last updated: