FamilyTreeGuide
Guide · Your data

Use your own MySQL or Postgres

Point a tree at a database you control: your hosting plan, Neon, Supabase, Aiven. · 3 min read

Any MySQL, MariaDB or Postgres database that can be reached from the internet will do. Free tiers from Neon, Supabase and Aiven are enough for even very large trees, and most web hosting plans include MySQL.

  1. Create an empty database and a user for it. Note the host, port, database name, user and password.
  2. Allow outside connections if your host asks (often called remote MySQL or an IP allow list).
  3. In Admin > Tree Settings > Where your family's data lives, choose My own MySQL / MariaDB or My own Postgres and fill in the details. Tick Connect over TLS for managed hosts.
  4. Press Test, then Set up to create the tables, then Switch to this.
The database form with host, port, database name, user, password and a TLS option

The user needs permission to create tables once, for Set up; after that it only reads and writes rows.