CakePHP SQLSTATE[HY000][14] error

不问归期 提交于 2019-12-04 05:58:14

If you look a little closer at the stacktrace, you'll notice that this doesn't stem from your apps connections, but from the DebugKit plugin, which by default uses SQLite for storing panel and request details, and most probably the target directory/file isn't writable.

Cookbook > DebugKit

[...]

DebugKit Storage

By default, DebugKit uses a small SQLite database in your application’s /tmp directory to store the panel data. If you’d like DebugKit to store its data elsewhere, you should define a debug_kit connection.

Database Configuration

By default DebugKit will store panel data into a SQLite database in your application’s tmp directory. If you cannot install pdo_sqlite, you can configure DebugKit to use a different database by defining a debug_kit connection in your config/app.php file.

[...]

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!