Datasources & Target Database Grant SQL
Yearning v4 separates Read-Only (review & query) credentials from Execution (execution) credentials. Provision dedicated accounts on target databases before registering them in /admin/datasources.

1. MySQL 5.7 / 8.0 (TiDB / OceanBase / PolarDB MySQL) Grant SQL
2. PostgreSQL 14–18 (PolarDB PG) Grant SQL
3. Form Field Rules
version_constraint(required, e.g.>=8.0,<9.0or>=14.0,<19.0): Not echoed on edit for safety; re-confirm on every save (1001if omitted).- Passwords & TLS Materials: Write-only AES-256-GCM encrypted. Leave passwords blank on edit to preserve existing secrets; omitting TLS keeps existing certificates, uploading replaces (
ca_pemrequired), and explicit removal downgrades to plaintext with a warning.