Registry / database / n8n-nodes-mysql-extend

n8n-nodes-mysql-extend

JSON →
library0.0.11jsnpmunverified

A community node package for n8n that extends MySQL functionality by adding upsert support. This package enables inserting or updating records in MySQL databases from within n8n workflows. The current stable version is 0.0.11, released as a single version without notable updates. It is designed specifically for n8n and cannot be used standalone. Key differentiator is the upsert operation missing from n8n's built-in MySQL nodes.

npm install n8n-nodes-mysql-extend
INSTALL
IMPORT
SIG · N8N-NODES-MYSQL-EX
N
n8n-nodes-mysql-extend
databasejavascriptv0.0.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MysqlExtend
import { MysqlExtend } from 'n8n-nodes-mysql-extend'
const MysqlExtend = require('n8n-nodes-mysql-extend')
ESM only; no CommonJS support.

Demonstrates how to import and use MysqlExtend node for upsert operation in n8n.

import { MysqlExtend } from 'n8n-nodes-mysql-extend'; // Initialize node with MySQL credentials const node = new MysqlExtend(); // Example workflow: upsert operation const workflowData = { node: 'MySQL', type: 'MysqlExtend', parameters: { operation: 'upsert', table: 'users', columns: 'id, name, email', values: '1, "John", "john@example.com"', uniqueKey: 'id' } }; // Execute node (simplified) const result = await node.execute(workflowData); console.log(result);
Debug
Known issues
gotchaPackage is not actively maintained; only one version published.
fix
Consider using native n8n MySQL nodes or other community alternatives.
affects: 0.0.11
gotchaThe package does not include TypeScript type declarations.
fix
Add your own type stubs or use @ts-ignore.
affects: 0.0.11
deprecatedPackage may break with future n8n versions due to internal API changes.
fix
Pin n8n version or test compatibility before updating.
affects: 0.0.11
Errors
Common errors & fixes
Cannot find module 'n8n-nodes-mysql-extend'
Package not installed or not recognized by n8n's node loader.
fix
Run 'npm install n8n-nodes-mysql-extend' and restart n8n.
TypeError: n8nNodesMysqlExtend.MysqlExtend is not a constructor
Incorrect import (CommonJS require) for ESM-only package.
fix
Use ES module import: import { MysqlExtend } from 'n8n-nodes-mysql-extend'
Upgrade
Version history
0.0.11latest on npm
Audit
Dependencies
n8n-workflowrequiredProvides n8n workflow types and base classes for node implementation
n8n-corerequiredRequired for Node execution and credentials handling
Agent activity
2 hits · last 30 days
node
2
Resources
n8n-nodes-mysql-extend — npm install n8n-nodes-mysql-extend · libregistry