Automate PostgreSQL & MySQL Database Management on Linux Servers — n8n Workflow
Overview
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 remote access.
Core Elements Set Parameters** - Defines server details, database type, action, and credentials Type Check** - Confirms the selected database type PostgreSQL Action Check** - Identifies the action for PostgreSQL PostgreSQL Cr
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 14 nodes, connecting if, manualtrigger, set.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (14)
Start
manualTrigger
Format Output
set
MySQL Create Check
if
Delete MySQL DB
ssh
Sticky Note
stickyNote
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
automate-postgresql-mysql-database-management-on-linux-serversfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
Oneclick AI Squad
@oneclick-ai
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →