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

(01-11-2020, 06:05 AM)MGatner Wrote: Your CLI version of PHP doesn’t necessarily have the same extensions installed. Run php -m and make sure MySQL extension is enabled.

Ha! I didn't think about that.
The CLI version was not the same version of PHP. Now it work when I call the same version. 
Thank you!
Code:
/Applications/MAMP/bin/php/php7.3.8/bin/php spark db:seed BlogSeeder
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
RE: No such file or directory when running seeder from CLI - by includebeer - 01-12-2020, 08:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB