Changing database name in Laravel/Homestead

后端 未结 3 1695
礼貌的吻别
礼貌的吻别 2021-02-19 14:45

I started learning Laravel just an hour ago and following tutorials.

My settings for database are as follow (File: app/config/database.php):

\'default\'          


        
3条回答
  •  粉色の甜心
    2021-02-19 14:58

    If anyone finds this looking for the answer for Laravel 5 or later: It's the same as @camroncade says, but in this case it's your .env file in the project root you want to look at.

提交回复
热议问题