Home  >  Q&A  >  body text

navicat - Mysql无法连接

navicat连接mysql每次换ip地址就提示无法连接

百度提示运行netsh winsock reset,重启电脑可以解决,但是每次都要重启太麻烦,有什么简单的方法?
为什么不用直接映射到localhost?

PHPzPHPz2742 days ago632

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 14:52:17

    Set the IP range that the logged-in user is allowed to access
    But I didn’t understand what the questioner described. This can be solved by restarting the computer every time. Does the IP change back after restarting?

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 14:52:17

    If mysql is on this machine, add the local loop address 127.0.0.1 or localhost to the server address. Do not fill in the local area network or public network ip

    reply
    0
  • Cancelreply