Error on Connector/J: "com.mysql.jdbc.exceptions.MySQLTimeoutException: Statement cancelled due to timeout or client request"

(Doc ID 2375356.1)

Last updated on APRIL 09, 2018

Applies to:

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

Symptoms

Java exceptions thrown with the following:

Changes

Server experiences higher load than usual, and queries take longer than the configured timeout.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms