Hope this is the right place, didn't find a place for homestead stuff.
I'm trying to pass a simple command to the homestead vagrant machine.
vagrant ssh -c "mysql -u homestead -psecret -e'CREATE DATABASE testing;'"
The db doesn't get created. Instead I just get 'logged in' to the homestead vagrant machine via ssh.
When I run the command inside the vagrant machine it works as expected.
I've also tried with:
--command
instead of shorthand -c
I'm going to distribute my script and it's going to integrate with Homestead, so can't really tweak the vagrant configuration.
Any ideas what's going on?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community