DDEV

Some learnings around DDEV

Access DB in Container with Windows GUI

Check if database port is exposed to Windows. Run this in your WSL2 terminal:

ddev describe

Look for the database port information.  db:3306 -> 127.0.0.1:32770

├──────────────┼──────┼─────────────────────────────────┼─────────────────┤
│ db           │ OK   │ InDocker -> Host:               │ mariadb:10.11   │
│              │      │  - db:3306 -> 127.0.0.1:32770   │ User/Pass: 'db/ │
│              │      │                                 │ db'             │
│              │      │                                 │ or 'root/root'  │
├──────────────┼──────┼───────────────                 ─┼─────────────────┤