0
By connection , as I change my DSN ?
one of the cases in my connection class that opens file in access
case "fatura" :
$strHost = "";
$strUser = "";
$strPass = "";
$strBase = "";
$strType = "";
$strDSN = "odbc:DRIVER={Microsoft Access Driver (*.mdb)};charset=iso-8859-1; DBQ={$strArquivo}; Uid=; Pwd=;";
//$strDSN = "odbc:DRIVER=Driver{Easysoft ODBC-ACCESS};charset=iso-8859-1; DBQ={$strArquivo}; Uid=; Pwd=;";
break;
I tried to change the DSN to receive the Easysoft ODBC-ACCESS driver because what I searched on linux does not open odbc files, but at first unsuccessfully, what could it be?? or what is missing
The message it displays is :
"RepositorioException: Nao foi possivel conectar ao banco de dados: SQLSTATE[01000] SQLDriverConnect: 0 [unixODBC][Driver Manager]Can't open lib 'Microsoft Access Driver (*.mdb)' : file not found","location":""}
This Easysoft ODBC-ACCESS driver no longer works ... so I researched it would have some,that I could add in Ubuntu , and put in my DSN ?
– Ricardo Mendes