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

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...


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.

Remove this migration file for sample test code.

Theme © iAndrew 2016 - Forum software by © MyBB