I don't know Heidi that well but you need to connect to your homestead box first that is located on ip: 192.168.10.12 (first line of your config).
Mar 3, 2020
11
Level 1
Connecting Laravel to HeidiSQL
I've installed a laravel project and I installed homestead into that project. I'm now trying to connect my laravel project to HeidiSQL.
I thought I was doing fine but I get this error
SQL Error (1049): Unknown database 'laravel-database'
Here is my details on HeidiSQL
Network type: MariaDB or MySQL (TCP/IP)
Library: libmariadb.dll
Hostname/IP: 127.0.0.1
User: homestead
Password: secret
Port: 33060
Database: laravel-database
and this is in my Homestead.yaml file
ip: 192.168.10.12
memory: 2048
cpus: 2
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
-
map: 'E:\Websites\laravel-app'
to: /home/vagrant/code
sites:
-
map: laravel-app.test
to: /home/vagrant/code/public
databases:
- laravel-database
features:
-
mariadb: false
-
ohmyzsh: false
-
webdriver: false
name: laravel-app
hostname: laravel-app
Please or to participate in this conversation.