Giter Club home page Giter Club logo

Comments (5)

mauritslamers avatar mauritslamers commented on August 28, 2024

It seems that the working commit doesn't really work either, in the sense that the initial selecting of one record does work initially, but after a short while the query callbacks also stop getting called...

from mysql.

mscdex avatar mscdex commented on August 28, 2024

Do you have some queries that we can use to reproduce this issue?

from mysql.

mauritslamers avatar mauritslamers commented on August 28, 2024

These queries are just a series of select * from 'tablename' queries followed by a select * from tablename where id=1 query. It could well be linked in some way to a connection issue with the database, or that in my code I don't use client.close(); I tried to add an event listener to the client._connection.on('close') event to catch whether the connection with MySQL closes, but that didn't work. It either didn't close the connection or the callback isn't called...
I am trying to use node-mysql as one of the adapters of my project ONR (http://github.com/mauritslamers/OrionNodeRiak). My code is in lib/OrionMySQL_node-mysql.js file.

from mysql.

felixge avatar felixge commented on August 28, 2024

This has probably also been fixed in: f0ce2e3. Can you check it out and let me know if it works?

from mysql.

mauritslamers avatar mauritslamers commented on August 28, 2024

I haven't had the time to check it thoroughly, it does seem to work now, but I am still experiencing problems, but that might also be caused by my implementation. I'll try to re-implement the connection module to use a separate client for every request first and next test

from mysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.