I\'m currently developing a desktop application with Node-webkit. During that process I need to get some data from a local MySQL-database.
The querying works fine, b
you try the code which gives JSON without rowdatapacket:
var ret = []; conn.query(SQLquery, function(err, rows, fields) { if (err) alert("..."); else { ret = JSON.stringify(rows); } doStuffwithTheResult(ret); }