No such file or directory when running seeder from CLI |
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 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
No such file or directory when running seeder from CLI - by includebeer - 01-02-2020, 10:37 AM
RE: No such file or directory when running seeder from CLI - by MGatner - 01-07-2020, 12:16 PM
RE: No such file or directory when running seeder from CLI - by includebeer - 01-07-2020, 12:54 PM
RE: No such file or directory when running seeder from CLI - by MGatner - 01-11-2020, 06:05 AM
RE: No such file or directory when running seeder from CLI - by includebeer - 01-12-2020, 08:08 AM
RE: No such file or directory when running seeder from CLI - by Martin_Salas - 05-14-2020, 04:56 PM
|