Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database Connection #66

Closed
mametur opened this issue Jan 3, 2021 · 0 comments
Closed

Database Connection #66

mametur opened this issue Jan 3, 2021 · 0 comments
Assignees

Comments

@mametur
Copy link
Collaborator

mametur commented Jan 3, 2021

  1. Install Mysql. windows linux
  2. Navigate MySQL client =>> for windows
  • pass your password (you will create this password during installation)
  • create database voxbox;
  • check database schema=> show databases; more info
  • use database voxbox;
  1. create.envfile in root where index.js is located
  • place this in .env file=>

DB_HOST=localhost
DB_NAME=voxbox
DB_USER=yourusername
DB_PASSWORD=password
JWT_SECRET=123456543212345654321234560987656789OPRTGDQSDFGHJKM

@mametur mametur self-assigned this Jan 3, 2021
@mametur mametur closed this as completed Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant