ENV File

Configure your database setting into .env file. You will find the env file inside your application / domain root directory. Set your Database name, Database user and Password here.

NB: Might be you have to change the database host address and port address as well if your hosting provider has a different address then it.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=database_name
DB_USERNAME=database_user_name
DB_PASSWORD=database_user_password

Also you have to Configure the App name and app url as well. You have to use your domain address as your app URL. Please use hyphen instead of space in your app name.

APP_NAME="Multipurpose Business"
APP_ENV=local
APP_KEY=Don't change the key
APP_DEBUG=false
APP_URL=http://www.yourdomain.com

Last updated