You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation, I've come across the statement "Pools accept all the same options as a connection." However, when I change my code from mysql.createConnection to mysql.createPool and fire a query, I'm getting ER_PARSE_ERROR.
I'm sure the syntax of my SQL is correct and it runs perfectly fine under a connection created via mysql.createConnection. Just want to double check what is the correct way of defining a custom query format for a connetion pool?