Getting MDB2 to work with sqlite3 via pdo

I am using MDB2_Driver_pdoSqlite to access sqlite3 database with PEAR. I can connect to the database and display a list of tables with listTables(), but when I try to run the mdb2 function tableInfo(), I get an error. MDB2 Error: not found [Error message: primary is not an existing table constraint]I run the following system:

  • MacOS X 10.5.8
  • PHP 5.3.0
  • sqlite 3.6.23.1
  • MDB2 2.5.0b2
  • MDB2 PDO SQLite3 Driver v1

Any idea what causes this error and how to fix it?

+3
source share
1 answer

, , . , . , Doctrine, php.

+1

Source: https://habr.com/ru/post/1757638/


All Articles