Profiles List (MySQL - Connection Pooling with Async/Await)


This section implement a MySQL Database connected with node.js mysql driver using the connection pooling 'mysql.createPool(config)'. Using Pool connection will better manage the TCPIP connection, allow parallel connection without incereasing connections to the server and help to avoid the server errors reaching timeouts or max connection limit.