SQLyog Linux server remote connection error 2003 solution

Error 2003 while connecting to a remote Linux server SQLyog

Solutions:

  1.cmd ping get through.

  2. telnet detection can not connect to the host

Solving steps:

  1. The need to open ports in cent7, the need to open firewall ports open.

  systemctl stop firewalld.service turn off the firewall
  systemctl start firewalld.service open the firewall 

  2. Specify the need to open ports

  firewall-cmd --zone=public --add-port=3306/tcp --permanent

  Return success

  3. reload firewall

  firewall-cmd --reload

  4. View open ports

  firewall-cmd --list-ports

  cmd can be detected using telnet directly into the shows a success

SQLyog can connect successfully.

  

 

Guess you like

Origin www.cnblogs.com/gilfoyli/p/12431754.html