2. Then enter the etc/mysql directory through the cd command. Then enter the ls command to view the files in this directory.
3. You will see my.cnf in the file. Enter the editing state through the "vi my.cnf" command.
4. After that, put "bind-address? = 127.0.0. 1 "Comment out or replace it with an ip address that requires remote connection, or simply delete this sentence before saving.