Using MySQL instead
holidaycottages opened this issue · 2 comments
holidaycottages commented
Hi,
Am looking at this boilerplate to use in our new project, I am looking through the code and can see where Postgres is used but was wondering if you could help me use MySQL instead?
Deleted user commented
Most likely. They use Knex, which can be used with postgres and MySQL both. It might take some work on your part. It will just be the initialization of the connection that would need to be changed.
koistya commented
Just install MySQL driver instead of pg
, then replace pg
with mysql
in the src/db.ts
file.