💼
Recruit
  • Introduction
  • Features
  • 🚀GETTING STARTED
    • Server Requirements
    • Installation
      • Using Git Clone
      • Using Docker
    • Environment Variables
    • Database
      • Migration
      • Seed
  • 🔐Security
    • Authentication
    • Authorization
  • 👀Others
    • Server Sendmail
    • Form Captcha
  • ⚓Links
    • Source Code
    • Version Release
    • Update Docs
Powered by GitBook
On this page
Edit on GitHub
  1. GETTING STARTED

Database

PreviousEnvironment VariablesNextMigration

Last updated 1 year ago

In this documentation, you're environment variable for the database should already been setup. If not yet then follow the instruction below.

  1. Create a table on your preferred database

For MySQL example: run the command below inside your mysql terminal. $ CREATE DATABASE recruit

  1. update your database credential in your .env file

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.

🚀
🎉