My Oracle Support Banner

Why Getting "ERROR 2003 (HY000): Can't connect to MySQL server on '<HOSTNAME>' (113)" ? (Doc ID 2031710.1)

Last updated on MAY 04, 2021

Applies to:

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


Disclaimer: Starting from v8.0, some terms have been deprecated. Older releases will only use the deprecated terminology, and new releases will only use new terminology. Please see for a complete list of those changes, and in which minor versions it happened.

During the process of setting up replication, the Replication user is not able to connect, giving such error when testing with MySQL Client:

Why does this happen and how to resume Replication setup?


To view full details, 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 a vibrant support community of peers and Oracle experts.