Nodejs uses node-mysql middleware for common connection or connection pool connection, which is better?

  node.js, question

Nodejs uses node-mysql middleware for common connection or connection pool connection, which is better?
Or what are their similarities and differences

It should depend on your needs.

In the case of high concurrency, connection pool is definitely more efficient. However, if you don’t have high concurrency requirements, there is not much difference between the common connection method and the connection pool connection method.