php - PDO Microsoft Access -


i running linux bluehost , have pdo installed. wish access *.mdb info, cannot seem past connection string pdo in case.

$dbh = new pdo("odbc:driver={microsoft access driver (*.mdb)};dbq=$mdb;uid=admin"); 

generates error: sqlstate[im002] sqldriverconnect: 0 [unixodbc][driver manager]data source name not found, , no default driver specified

i know the path correct: /home1/[removed]/pss/pss.md

does know of solution issue using pdo library?

as requested, expanding on comment.

mdb support on linux limited; although mdb tools (used pdo on linux) provide partial read-only support, general status seems far production ready, faq says

1.2 mdb tools do

mdb tools open source suite of libraries , utilities read (and write) mdb database files.

1.6 there roadmap?

roughly, plan moving forward looks this.

  • add index scan capability libmdb , sql engine query plan generator.
  • add support adding rows existing tables , mdb-import tool.
  • add full write support libmdb , libmdbsql.
  • extract queries, table properties, vba script, forms.
  • mdb-check database consistancy checker , recovery tool.
  • add joins.
  • ability add tables.

if need read .mdb, installing mdbtools might enough.

if need read-write, or of features on roadmap, , must use .mdb, use windows or possibly mac host

if .mdb datasource, export sql , use mysql or postgres (postgres seems have better odbc support windows, if relevant project)


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -