Welcome Guest, Not a member yet? Register   Sign In
Upon running php spark migrate --all, I get an error
#1

Upon running "php spark migrate --all", I get the following error;

CodeIgniter v4.1.4 Command Line Tool - Server Time: 2021-12-17 22:10:43 UTC-06:00

Running all new migrations...

[CodeIgniter\Database\Exceptions\DatabaseException]

Unable to connect to the database.
Main connection [SQLite3]: Class 'SQLite3' not found

My .env is set up to use
database.default.hostname = localhost
database.default.database = myDatabase
database.default.username = ci4_app
database.default.password = password
database.default.DBDriver = MySQLi

Does spark require only SQLite3? How would that be setup? Thanks.
Reply


Messages In This Thread
Upon running php spark migrate --all, I get an error - by spreaderman - 12-17-2021, 09:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB