npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

n8n-nodes-sqldatabase

v0.2.3

Published

An n8n community node to execute sql statements against a database using a provided JDBC driver

Downloads

20

Readme

n8n-nodes-sqldatabase

This is an n8n community node. It lets you use a SQL Database in your n8n workflows.

SQL Database allows you to connect to a database via a JDBC.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history

Installation

Prerequisites

The following dependenices must be installed prior to using this node:

  • VS Build Tools or VS Community >= v2015 with C++ desktop development workload
  • Python3
  • Java 8

See Resources for more detail.

Install

Follow the installation guide in the n8n community nodes documentation.

If installing through the n8n GUI fails:

Installing this node through the n8n GUI is throwing an error in my environment currently, node-gyp is unable to find the Visual Studio directory. I will update this section when I find a resolution.

If you also encounter this issue and would still like to help test or use this node, you may try to install it manually by doing the following:

1. Stop n8n if it's currently running

2. Open a new Windows command prompt

3. Navigate to the .n8n/nodes directory

cd [path to .n8n]/.n8n/nodes

4. Use npm to install n8n-nodes-sqldatabase

npm i n8n-nodes-sqldatabase

5. Start n8n

If successful, you should now see the node available in the editor. If you receive any errors during step 4, review them and confirm that you've properly installed/configured or have encountered an issue that I did not. If the node doesn't appear yet installs properly, check that you've added it to the correct .n8n folder for your desired server.

Operations

Statement

Execute

Execute arbitrary SQL against a specified database. Supports dynamic parameters generated from prior node input.

Credentials

SQL Database credentials

  • Username
  • Password
  • JDBC connection URL
  • Driver Directory

Compatibility

Tested install and execution with:

  • n8n version 1.1.1
  • node 18.16.0
  • Visual Studio Build Tools 2022
  • Python 3.11
  • Windows 11 & Windows Server 2022
  • JDK & JRE 1.8u381

Usage

  • Configure database credential
  • Add node to workflow
  • Input SQL
  • Execute node

Resources

Dependency Information

Requirement Downloads

Version history

This is another optional section. If your node has multiple versions, include a short description of available versions and what changed, as well as any compatibility impact.