PlanetScale — a database connection
planetscale/database · version 1
envs add planetscale/database
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
DATABASE_URL |
required | secret | The MySQL shape is PlanetScale's own; the name is convention. The password is shown once and cannot be retrieved, so rotating means creating a new one and deleting the old.. Shape ^mysql://[^\s]+$. where to get it |