Remember that when using something like Sequel pro and Homestead, you need to use the Homestead IP. 192.168.10.10 and then the credentials which is usually homestead and secret
Oct 9, 2017
3
Level 1
Homestead - cannot see database tables
I have a site running on Vagrant, I am on Mac. I use sudo to vagrant up, use vagrant ssh to go to the Code folder and then run php artisan migrate I have gone with all the defaults to try and get the database tables to show. When I connect through sql pro the tables never show up. I have tried for 3 nights.
I have installed the vagrant bindfs plugin.
Here is my Homestead.yaml
ip: 192.168.10.10
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
-
map: /Applications/MAMP/htdocs/laravel/rhtest
to: /home/vagrant/Code
type: "nfs"
sites:
-
map: rhtest.app
to: /home/vagrant/Code/public
databases:
- homestead
name: rhtest
hostname: rhtest
ports:
- send: 63790
to: 6379
protocol: udp
my .env is just the normal.
I'm wondering if it is a permissions problem for the DB. Any suggestions would be great.
Please or to participate in this conversation.