Firstly please check to see whether any firewall in running in the node where you want to execute mysql.