Hello - I get the following error when performing queries. This is a new install and I'm just learning node.js but the install of MySQL seemed to be perfect; no errors. Although I get this error, it does return queried records perfectly.
Error
at Protocol._enqueue (/var/www/node_modules/mysql/lib/protocol/Protocol.js:141:48)
at Connection.query (/var/www/node_modules/mysql/lib/Connection.js:214:25)
at repl:1:12
at sigintHandlersWrap (vm.js:32:31)
at sigintHandlersWrap (vm.js:96:12)
at ContextifyScript.Script.runInContext (vm.js:31:12)
at REPLServer.defaultEval (repl.js:308:29)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
at REPLServer.<anonymous> (repl.js:477:10),
Here is my setup:
node.js v6.3.1 running on Amazon EC2 Linux AMI 2016.03.3
MySQL version: 5.6.27 running on Amazon Relational Database Service (RDS)
Thanks for any help.