codeigniter 无法将代码点火器4与sqlite3连接

gdx19jrr  于 2023-02-27  发布在  SQLite
关注(0)|答案(1)|浏览(227)

如何将sqlite3与ci4连接?我的配置是:

public $default = [
    'DSN'      => '',
    'hostname' => '',
    'username' => '',
    'password' => '',
    'database' => 'edmis.db',
    'DBDriver' => 'SQLite3',
    'DBPrefix' => '',
    'pConnect' => false,
    'DBDebug'  => (ENVIRONMENT !== 'production'),
    'cacheOn'  => false,
    'cacheDir' => '',
    'charset'  => 'utf8',
    'DBCollat' => 'utf8_general_ci',
    'swapPre'  => '',
    'encrypt'  => false,
    'compress' => false,
    'strictOn' => false,
    'failover' => [],
    'port'     => 3306,
];

文件edmis.db存在于文件夹'writable'
我收到错误。

相关问题