Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7938585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:51:01+00:00 2026-06-03T22:51:01+00:00

I am looking for a mySQL driver for nodejs that supports stored procedures. http://nodejsdb.org/db-mysql/

  • 0

I am looking for a mySQL driver for nodejs that supports stored procedures. http://nodejsdb.org/db-mysql/ that I have been using gives the error

PROCEDURE can’t return a result set in the given context

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T22:51:03+00:00Added an answer on June 3, 2026 at 10:51 pm

    it works in nodejs-mysql-native

    stored procedure:

    DELIMITER //
    CREATE PROCEDURE test1p1()
      BEGIN
      SELECT 1+1;
      END //
    DELIMITER ;
    

    node.js script:

    mysql = require('mysql-native');
    var db = mysql.createTCPClient();
        db.auth('test', 'tester', ''); // db, user, password
    
    db.query('call test.test1p1;').on('row', function(r) {
        console.log(r);
    }).on('end', function() {
        console.log('OK!');
    });
    

    output:

    { '1+1': 2 }
    OK!
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been looking at several examples for configuring a datasource for MySQL in
I am looking for the MySQL equivalent of CONTEXT_INFO that is present in SQL
I have a MySQL table looking like this: > describe books; +---------------+--------------+------+-----+---------+----------------+ | Field
Looking for a good tutorial on how to update a mysql database using a
I've been looking at how best to protect against sql injection in PHP/mysql beyond
I have been looking around the current options (and related SO questions) regarding PHP
So, looking for a mysql-db-lib that is compatible with py3k/py3.0/py3000, any ideas? Google turned
I'm looking for a MySQL equivalent of what str_replace is for PHP. I want
I was just looking at the MySql database created by drupal after I installed
I am looking for a single MYSQL script to convert ALL column names in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.