Not much to say about the foreplay, most of them are account permissions. After confirming that you have opened a remote account with correct permissions, if you still cannot access remotely, then the 80% possibility is that your local MYSQL port is not open to the outside world! ! !