My Oracle Support Banner

"Lost connection to MySQL server at 'reading initial communication packet', system error: 0" Is Primarily Caused By Network Firewall Problem (Doc ID 2926158.1)

Last updated on SEPTEMBER 06, 2023

Applies to:

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

Symptoms

 When connecting from a client (mysql CLI, or an application program using MySQL drivers), it can fail due to the following error message:

Changes

This problem can be seen after  network maintenance.

Cause

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
Symptoms
Changes
Cause
Solution


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