My Oracle Support Banner

DriverManager.setLoginTimeout - login timeout error - Connection Attempt Exceeded Defined Timeout - connectTimeout and socketTimeout (Doc ID 2983315.1)

Last updated on OCTOBER 31, 2023

Applies to:

MySQL Connectors - Version 8.0 and later
Information in this document applies to any platform.


To explain the differences between the DriverManager.setLoginTimeout, connectTimeout, and socketTimeout.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.