In this documentation, you're environment variable for the database should already been setup. If not yet then follow the instruction below.
Create a table on your preferred database
For MySQL example: run the command below inside your mysql terminal. $ CREATE DATABASE recruit
update your database credential in your .env file
.env
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=recruit DB_USERNAME=root DB_PASSWORD=root
๐ Congratulations!, the system is now connect to the DB you have been setup.
Last updated 2 years ago