Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
artemsites committed Jun 1, 2024
1 parent c0abf0c commit 45af41d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ APP_SECRET=093y2032357vny20934v9823yn545v02



DATABASE_URL="mysql://name:pass@server.com:3306/dbname"
# DATABASE_URL="mysql://name:pass@server.com:3306/dbname?serverVersion=5.7.21"
DATABASE_URL="mysql://username:password@server.com:3306/dbname"
# DATABASE_URL="mysql://username:password@server.com:3306/dbname?serverVersion=5.7.21"

# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
Expand Down
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,19 @@
git clone [email protected]:artemsites/cms-sheets.git
```

## Copy and rename `.env.example -> .env`

## Copy and rename
```
.env.example -> .env
```

## Set connection MySQL in .env
```
DATABASE_URL="mysql://username:[email protected]:3306/dbname"
```
With mysql version:
```
DATABASE_URL="mysql://username:[email protected]:3306/dbname?serverVersion=5.7.21"
```


---
Expand Down

0 comments on commit 45af41d

Please sign in to comment.