Closed iamchathu closed 5 years ago
Is there anyway to auto reconnect after disconnect
Unfortunately, no. You could use a connection pool or manage to restart your instance on disconnection.
instance.on(MySQLEvents.EVENTS.CONNECTION_ERROR, (err) => { // handle me });
Is there anyway to auto reconnect after disconnect