QueryFailedError: ER_PARSE_ERROR: You have an error in your SQL syntax
See original GitHub issueFailed to GET /api/charts.json (500) Please screenshot this error message and report it in
{
   "error":{
      "message":"QueryFailedError: ER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '>>\"$.title\" AS title,\n        charts.config->>\"$.slug\" AS slug,\n        charts.c' at line 3\n    at new QueryFailedError (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\src\\error\\QueryFailedError.ts:9:9)\n    at Query. (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\src\\driver\\mysql\\MysqlQueryRunner.ts:166:37)\n    at Query. (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\Connection.js:525:10)\n    at Query._callback (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\Connection.js:491:16)\n    at Query.Sequence.end (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\protocol\\sequences\\Sequence.js:83:24)\n    at Query.ErrorPacket (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\protocol\\sequences\\Query.js:90:8)\n    at Protocol._parsePacket (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\protocol\\Protocol.js:291:23)\n    at Parser._parsePacket (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\protocol\\Parser.js:433:10)\n    at Parser.write (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\protocol\\Parser.js:43:10)\n    at Protocol.write (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\protocol\\Protocol.js:38:16)\n    at Socket. (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\Connection.js:91:28)\n    at Socket. (C:\\Users\\user\\Desktop\\Interview\\React\\grapher\\node_modules\\mysql\\lib\\Connection.js:525:10)\n    at Socket.emit (events.js:198:13)\n    at addChunk (_stream_readable.js:288:12)\n    at readableAddChunk (_stream_readable.js:269:11)\n    at Socket.Readable.push (_stream_readable.js:224:10)",
      "status":500
   }
}
Issue Analytics
- State:
 - Created 3 years ago
 - Comments:9 (5 by maintainers)
 
Top Results From Across the Web
ER_PARSE_ERROR: You have an error in your SQL syntax
I'm trying to insert values using mysql in nodejs. I had written the following code and installed ...
Read more >ER_PARSE_ERROR: You have an error in your SQL syntax
Hello everybody. I'm new to Node Red. I'm about to replace a JS module that has been running on my NAS for some...
Read more >Node.js - MySQL - ER_PARSE_ERROR with placeholders
I was trying to select records in my database (MySQL), but I got this response: ... sqlMessage: "You have an error in your...
Read more >ER_PARSE_ERROR: You have an error in your SQL syntax
Hi! Have created connection with local mysql 5.7.19 and created 1 content type with one field title via admin panel. But the new...
Read more >2 Server Error Message Reference - MySQL :: Developer Zone
Message: You have an error in your SQL syntax; check the manual that ... Check the 'Function Name Parsing and Resolution' section in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Either your database server or client is not MySQL but MariaDB. Otherwise, your error message wouldn’t contain
check the manual that corresponds to your MariaDB server version.I concur!
I think if we can try to refactor out the global
settings.ts, and make all the baking functions functional, that would allow us to start making a number of improvements to the baking code such as baking a single chart or even baking the full site to an arbitrary folder on disk.I had started a little refactor of the baker a while ago but then put that on the backburner, so it’s useful to hear others might benefit from a Baker refactor.