izniburak/pdox

Does PDOx support SQLite3?

shaobingme opened this issue · 1 comments

please guide, thanks. how to connect with sqlite database? thanks.

Hi @shaobingme ,
You must specify driver and database into PDOx config.
Driver must be sqlite, and Database must be your Path of SQLite Database File.
For example:

$config = [
    'driver'    => 'sqlite',
    'database'  => 'test.sqlite', // full path
    // and other settings...
];

// start PDOx
$db = new \Buki\Pdox($config);

Could you try like that?