CakePHP use MS Access database (.mdb, not accdb): Do I need to write a driver? How to build it? -


i'm in unlucky situation client requires use read-only ms access database render webpage contents on website (built me).

because ms access file updated once per month , don't want manually converting sql query , import in mysql, make webpages read directly it.

what discovered there isn't driver (at least in cakephp installation) ms access database (but in older versions of cake exist) or @ least didn't find of them.

i need know can find such drivers or how correctly implement 1 of them read operations (i think should implement dbosource class, don't know should override because there isn't such virtual or abstract or interface guide me through this).

i didn't understand if should create adodb driver or oledb driver. think sqlserver driver lot similar should build (except connectionand details); if can use in way shorten job, helpful.

edit 1:

because no 1 answering, can i'm ok use ms access "normal" queries (without requiring each table bound model) must sure sanitized , output arrays similar cakes output actually: $jobs['jobs']['name']

any suggestion on how achieve this?

maybe adodb or odbc datasources https://github.com/cakephp/datasources/tree/2.0/model/datasource/database work ms access?


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -