Download the PHP package zoilomora/doctrine-dbal-msaccess without Composer
On this page you can find all versions of the php package zoilomora/doctrine-dbal-msaccess. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zoilomora/doctrine-dbal-msaccess
More information about zoilomora/doctrine-dbal-msaccess
Files in zoilomora/doctrine-dbal-msaccess
Package doctrine-dbal-msaccess
Short Description Doctrine DBAL implementation for Microsoft Access
License MIT
Informations about the package doctrine-dbal-msaccess
Doctrine DBAL for Microsoft Access
An implementation of the doctrine/dbal library to support Microsoft Access databases in Microsoft OS.
There are some functionalities that are not supported by Microsoft Access in a PDO-based connection. For these functionalities the implementation uses a direct connection through ODBC.
OS Requirements
- Microsoft Access Database Engine Redistributable (2010 or 2016).
- Register a DSN in ODBC Data Source Administrator
odbcad32.exe
.
Installation
1) Install via composer
Register a DSN
We don't need to reinvent the wheel, on the internet there are hundreds of tutorials on how to set up a DSN for Microsoft Access. I leave you a video that I think explains it perfectly.
Once the DSN is configured we will have to configure the connection in the following way:
Discovered problems
Character encoding problems
The default character encoding in Access databases is Windows-1252. If you want to convert the data to UTF-8, a simple solution would be:
If you want all the data to be encoded automatically to UTF-8 (with the performance reduction that it may imply) configure the driver as follows:
License
Licensed under the MIT license
Read LICENSE for more information
All versions of doctrine-dbal-msaccess with dependencies
ext-mbstring Version *
ext-pdo Version *
ext-odbc Version *
doctrine/dbal Version ^2.12