title: Slave I/O: error connecting to master
body: <p>I'm following this tutorial for <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-in-mysql" rel="nofollow noreferrer">Master-slave-replication</a>
  for my database replication and this working fine for test servers in which both servers have not ssl installed. But when I trying to do the same with my production server where only master has ssl installed not slave server, I'm getting this error <code>Slave I/O: error connecting to master 'server-ipaddress:3306' - retry-time: 60  retries: 86400, Error_code: 2003</code>. Is this problem of ssl connection or something else.</p>
  
  <p>Also when setting up mysql configuration on master server after taking dump file of database and unlocking tables my mysql server shut down with my website showing this error <code>error establishing database connection</code> after restarting mysql my website working fine again.</p>
  
  <p>My master server is running on nginx server with wordpress installed and I have also checked that 3306 is listening on my master server. 
  Why my slave unable to connect to my master server, any solution?</p>