-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Nest] 30 - 04/14/2024, 4:54:00 AM ERROR [ExceptionsHandler] Can't add new command when connection is in closed state Error: Can't add new command when connection is in closed state #675
Comments
Reading this issue: sidorares/node-mysql2#1898 is a problem with the mysql2 package |
mmmh what version of the package are you using the latest |
nest-mysql is 0.0.13 |
try using these versions here:
|
I've switched versions |
The same mistakes happen |
Okay, I released a new version MysqlModule.forRoot({
host: 'localhost',
database: 'test2',
password: 'root',
user: 'root',
port: 3306,
waitForConnections: true,
connectionLimit: 10,
queueLimit: 0,
pool: true,
}), put the flag |
非常棒,我去实验一下,看看问题有没有被解决,可能会晚点回复你结果 |
[Nest] 30 - 04/14/2024, 4:54:00 AM ERROR [ExceptionsHandler] Can't add new command when connection is in closed state
Error: Can't add new command when connection is in closed state
Errors are reported automatically at regular intervals
The text was updated successfully, but these errors were encountered: