Trying to connect to remote MySQL host (error 2003)

前端 未结 5 1077
南旧
南旧 2020-12-01 15:44

I have a MySQL instance running on a Debian server and I can connect to it locally with no problems. However, I am unable to connect to it remotely. When I try this from m

5条回答
  •  星月不相逢
    2020-12-01 16:36

    You should check your MySQL Server configuration to see if it bind to 127.0.0.1, then you can only connect to mysql if your app is on same server. There's an easy way, to have webamin installed and you can control via web interface.

提交回复
热议问题