-
Notifications
You must be signed in to change notification settings - Fork 96
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
retrieve connection from pool timeout #268
Comments
I have the same issue. Code very similar to the above. Any help ? |
Most error must be logged like this example :
real error in previous example is 'Access denied for user 'root'@'localhost' (using password: YES)' In order to be sure to have this additional error information, could you set |
I've managed to print the error object.
|
I'm seeing the same error after the timeout period on a fresh install of MariaDb (11.3) and Node.js connector (3.3.0) using the sample from NPM readme. If I give a wrong password I will get an error for it. If I set
In the log file HOSTNAME.err I get these lines:
I.e. there is some communication happening but then it drops. I've tried adding a Windows firewall rule for the port but made no difference (and there exists a MariaDb executable rule) and chnaging some settings to no effect. HeidiSql-client works with same credentials. I've also tried to UTF8 on both. PS. Note that having a wrong password will result in the same error message in Node.js, but in the debug messages you get |
Experiences from rolling back versions:
Below the successfull handshake and a comparison to 3.*:
PS. My guess would be the handshake is OK and there's been some change in handling of TCP-connections from 2.x to 3.x causing the final ACK to get dropped. This might be network dependent, i.e. with certain MTU or something everything works as expected. |
I'm getting the following error after installing
mariadb
as replacement formysql2
. The weird part is that it works during the initialnpm install
but when I restart the computer I get this error. I think there might be a configuration issue which is not letting it connect to the mysql database during startup.Is there a way to get an error on why it's not getting the connection from the pool?
not connected due to error: SqlError: (conn=-1, no: 45028, SQLState: HY000) retrieve connection from pool timeout after 10001ms (pool connections: active=0 idle=0 limit=5)
The text was updated successfully, but these errors were encountered: