A bit challenging. MDB connection works fine using xampp. EXEOutput’s PHP configuration is 7.4 with obviously php_pdo_odbc.dll extension activated.
When compiled, .exe triggers an exception:
SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Database: odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\ProgramData\Meet Manager DEMO\Meets\database.MDB;Uid=Admin; Pwd=;
In the same machine, MS Access is fully installed.
Out of ideas.