Open Rylxnd opened 2 years ago
I have the same problem. I set the connection to the base, sent a couple of requests and everything worked. After some time of inaction led to this error. mysql@2.18.1 (github:mysqljs/mysql#3430c513d6b0ca279fb7c79b210c9301e9315658)
@TheRyGuy2008 I had the same problem. But once I change my connection from mysql.createConnection to mysql.createPool, the error never happen again...
I have been having this issue all the time with my server. I just could never find a solution to my probleme. Here is the error I am getting:
Here is my connection (self made mini sql module):
I only ever make one connection. Is this my problem?