According to the official website,
mysql2 is a MySQL client for Node.js with focus on performance.
Drizzle ORM natively supports
There’re two ways you can connect to the MySQL with
mysql2 driver, either single
client connection or a
For the built in
migrate function with DDL migrations we and drivers strongly encourage you to use single
For querying purposes feel free to use either
pool based on your business demands.