-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DATABASE_URL with version and charset
- Loading branch information
1 parent
ad44f49
commit 928b513
Showing
4 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,9 +157,9 @@ composer install --optimize-autoloader -n | |
vim .env | ||
``` | ||
|
||
Configure the above created database credentials: | ||
Configure the database connection and adjust the settings to your needs (compare with the [original .env file]({{ site.kimai_v2_repo }}/blob/main/.env.dist)): | ||
``` | ||
DATABASE_URL=mysql://kimai2:[email protected]:3306/kimai2 | ||
DATABASE_URL=mysql://kimai2:[email protected]:3306/kimai2?charset=utf8&serverVersion=5.7 | ||
``` | ||
|
||
And execute the Kimai installation: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -300,7 +300,7 @@ mG0%2Fd1%403aT.Z%29s | |
Then your `DATABASE_URL` might look like this: | ||
``` | ||
DATABASE_URL=mysql://root:mG0%2Fd1%403aT.Z%[email protected]:3306/kimai2 | ||
DATABASE_URL=mysql://root:mG0%2Fd1%403aT.Z%[email protected]:3306/kimai2?charset=utf8&serverVersion=5.7 | ||
``` | ||
### Which user to use, www-data, httpd or your own? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters