Migrate from outside homestead

Posted 1 year ago by eddieace


I wonder if someone have a soloution on how to use migrate commands outside of homestead?

SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = project and table_name = migrations)

I get this error and I have to vagrant ssh onto the virtual machine.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.