我的计算机上有一个名为testing.sqlite的数据库文件,其中包含我想要用于测试的数据库副本(而不是连接到我的普通MySQL生产服务器)。我按照说明在laravel中的config/database文件中创建了一个条目,并将其设置为访问sqlite文件,一切看起来都是正确的。SQLSTATE[HY000]: General error: 26 file is encrypted or is not a database (SQL: select * from sqlite_masterwhere type
我刚刚安装了这个软件包(laravel-scout驱动程序),在使用search()方法时,我得到了以下错误:PDOException with message 'SQLSTATE[HY000] [2002--- | This option controls the default search connection that gets used while
| using Laravel我已经安装了所需的SqLite扩展并启用了它。我已经将Scout和Tnt按正确的顺序添加到提供者数组中。