How to specify the charset when connecting to a MySQL server with ExpressJS?

87 Views Asked by At

I am using the MySQL npm package to connect via Express to my MySQL database, however I would like to specify utf8mb4 as the charset for this connection, however I can't find anything in the docs about how to do this.

0

There are 0 best solutions below