Skip to content

Commit

Permalink
add insecureAuth and debug to db
Browse files Browse the repository at this point in the history
  • Loading branch information
LoV432 committed Jan 24, 2024
1 parent 561828e commit a7d471e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/lib/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import mysql from 'mysql2';
export const db = mysql
.createPool({
host: process.env.SQL_HOST,
debug: true,
insecureAuth: true,
port: Number(process.env.SQL_PORT),
user: process.env.SQL_USER,
database: process.env.SQL_DB,
Expand Down

0 comments on commit a7d471e

Please sign in to comment.