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

(01-12-2020, 08:08 AM)includebeer Wrote:
(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

in my case I have UBUNTU and execute: 
Code:
sudo apt-get install php7.3-sqlite3
Reply


Messages In This Thread
RE: No such file or directory when running seeder from CLI - by Martin_Salas - 05-14-2020, 04:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB