How to make mysql accept connections externally

前端 未结 3 1989
花落未央
花落未央 2021-01-06 13:29

I have a VPS and I want to make mysql DB accept connection externally (from my PC for instance). I have Debian Linux installed on the server. I checked some tutorials online

3条回答
  •  萌比男神i
    2021-01-06 14:16

    You have to set bind-address to the value of your machine's external IP address instead of the localhost IP address. Don't forget to restart the MySQL service afterwards.

    Check these other answers out for more details.

提交回复
热议问题