Why Getting "ERROR 2003 (HY000): Can't connect to MySQL server on 'hostname' (113)" ?

(Doc ID 2031710.1)

Last updated on MARCH 22, 2017

Applies to:

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


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

ERROR 2003 (HY000): Can't connect to MySQL server on 'hostname' (113)  

Why does this happen and how to resume Replication setup?


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