Create additional databases in Laravel Homestead

It is really easy to ad more databases in Laravel Homested. Simply edit the Homestead.yaml file (in Windows under C:Usersyour-username.homesteadHomestead.yaml)

Under databases add your databases like this:

If you virtual machine is already running navigate to your Homestead folder and run the command  vagrant provision to create the new database(s). If it is not running simply run  vagrant up.

You should now be able to access your new database with the default credentials.

Leave a Reply

Your email address will not be published. Required fields are marked *