-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (26 loc) · 867 Bytes
/
.env.example
File metadata and controls
30 lines (26 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ----------------------------------------------------
# Database Environment Variables (rename this to .env)
# ----------------------------------------------------
# JDBC MySQL connection URL
DB_URL=jdbc:mysql://localhost:3306/testdbone
# Database username
DB_USER=root
# Database password
DB_PASS=yourpassword
# ----------------------------------------------------
# Usage:
# Rename `.env.example` → `.env`
# Update DB_USER and DB_PASS with your actual values
# Export variables before running:
#
# Linux/macOS:
# export DB_URL="jdbc:mysql://localhost:3306/testdbone"
# export DB_USER="root"
# export DB_PASS="yourpassword"
#
# Windows (PowerShell):
# setx DB_URL "jdbc:mysql://localhost:3306/testdbone"
# setx DB_USER "root"
# setx DB_PASS "yourpassword"
#
# ----------------------------------------------------