Difference between #44 and #45 of
Yii v2 snippet guide III

Revision #45 has been created by rackycz on Mar 7, 2021, 7:24:17 PM with the memo:

Docker
« previous (#44) next (#46) »

Changes

Title unchanged

Yii v2 snippet guide III

Category unchanged

Tutorials

Yii version unchanged

2.0

Tags unchanged

tutorial,yii2,beginer

Content changed

[...]
- Frontend: http://localhost:20080
- Backend: http://localhost:21080
- ... see docker-compose.yml to understand these port numbers

Open common/config/main-local.php and set following DB connection:
- host=
**mysql** !!
- dbname=yii2advanced
- username=yii2advanced
[...]
- If your DB has no password, adminer fill refuse to work. You would have to "crack" it.
- Use following login and go to DB yii2advanced:
- server=
**mysql** !!
- username=yii2advanced
- password=secret
- Values are taken from docker-compose.yml
- Set status=10 to your first user
[...]
8 0
4 followers
Viewed: 189 588 times
Version: 2.0
Category: Tutorials
Written by: rackycz
Last updated by: rackycz
Created on: Jan 21, 2021
Last updated: a year ago
Update Article

Revisions

View all history