"Data source name not found and no default driver specified" error on connecting using ODBC applications in PHP

11-11-2016

If you get "Data source name not found and no default driver specified" error on connecting using ODBC applications exception check connection string same as follows:

 $connStr =
'odbc:Driver={Microsoft Access Driver (*.mdb)};' .
'DBQ=C:\xampp\htdocs\efarmasi\Ayahya.mdb;Uid=; Pwd=;';

© 2019 All rights reserved. Codesenior.COM