From f2d8ff5b08ff20bc625e2e28f1f9e807afc91b9e Mon Sep 17 00:00:00 2001 From: McSneaky Date: Fri, 19 Aug 2022 04:26:35 +0300 Subject: [PATCH] refactor: update `mysql` client to `mysql2` --- templates/database.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/database.txt b/templates/database.txt index ce904039..d0352a8e 100644 --- a/templates/database.txt +++ b/templates/database.txt @@ -65,11 +65,11 @@ const databaseConfig: DatabaseConfig = { | Configuration for MySQL database. Make sure to install the driver | from npm when using this connection | - | npm i mysql + | npm i mysql2 | */ mysql: { - client: 'mysql', + client: 'mysql2', connection: { host: Env.get('MYSQL_HOST'), port: Env.get('MYSQL_PORT'),