Templates / Automate PostgreSQL & MySQL database management on Linux servers

Automate PostgreSQL & MySQL database management on Linux servers

Ready for 3.0

by Oneclick AI Squad ✓ · 505 views · created 2025-07-18 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 14 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Set Parameters (Edit Fields (Set)): sets or maps fields
  2. Database Type Check (If): checks a condition and branches into true / false
  3. PostgreSQL Action Check (If): checks a condition and branches into true / false
  4. MySQL Action Check (If): checks a condition and branches into true / false
  5. Install PostgreSQL (SSH): uses SSH
  6. PostgreSQL Create Check (If): checks a condition and branches into true / false
  7. Install MySQL (SSH): uses SSH
  8. MySQL Create Check (If): checks a condition and branches into true / false
  9. Format Output (Edit Fields (Set)): sets or maps fields
  10. Create PostgreSQL DB (SSH): uses SSH

…plus 3 more steps. See the full node list below.

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (4)

From the author

This automated n8n workflow efficiently manages the setup, creation, and deletion of PostgreSQL and MySQL databases on a Linux server, executing tasks in approximately 10 seconds. It automates installation, configuration, and user management with support for…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.