Docs / Guides / Doctor & DB tools

Feature 10 · Study guide

Doctor & DB tools

Diagnose project structure and database connectivity before you debug application code.

What you will learn
  • When to run tpy doctor
  • How db info / ping help connection issues
  • What tpy about shows

1. Setup

Run these inside a tamilPY project root (where schema.tpy lives).

$ tpy doctor
$ tpy db info
$ tpy db ping
$ tpy about
$ tpy commands

2. How to use them

  • doctor — missing folders/files after a bad copy or partial generate.
  • db info — confirms which driver/URL the CLI thinks you configured.
  • db ping — proves the network/credentials work.
  • about — framework version, Python, whether this folder is a TPY project, cache status.
If migrate fails, run tpy db ping first. Many “framework bugs” are wrong host/password.