Welcome Guest, Not a member yet? Register   Sign In
No such file or directory when running seeder from CLI
#1

I'm trying to load some test data with a seeder file and it gives the error "No such file or directory". It looks like it's when it tries to connect to  MySQL but I can't find what file it's looking for. The application works fine in the browser, so the database config is good. I looked at the code in MySQLi/Connection.php and I can't find where this exception comes from.

Any idea what file it's looking for and can't find?


Code:
$ php spark db:seed BlogSeeder


CodeIgniter CLI Tool - Version 4.0.0-rc.3 - Server-Time: 2020-01-02 12:23:01pm


No such file or directory
/Applications/MAMP/htdocs/xxxxxx/system/Database/MySQLi/Connection.php - 225
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
No such file or directory when running seeder from CLI - by includebeer - 01-02-2020, 10:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB