Slave I/O: Error connecting to master : error_code : 2003 with Non Standard Master Port and SELinux

(Doc ID 1448513.1)

Last updated on MAY 29, 2016

Applies to:

MySQL Server - Version 4.0 to 5.5 [Release 4.0 to 5.5]
Oracle VM - Version 3.2.8 to 3.2.8 [Release OVM32]
Information in this document applies to any platform.

Symptoms

MySQL is unable to connect to a replication master on a non-standard port (ports other than 3306).

 
The following error appears :
 
[ERROR] Slave I/O: error connecting to master 'master@127.0.0.1:3307' - retry-time: 60  retries: 86400, Error_code: 2003

 

 

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