php - How to modify the mysql port and open it to the outside world. .
某草草2017-05-16 13:04:41
0
2
753
How to modify the mysql port and open it to the outside world. . Is there any particularly simple method that currently uses port 3306 to prevent external network access?
The following is for the redhat/centos system, please make adjustments accordingly for other systems: 1. If you are sure that the process can be opened correctly, go to step 2. If not, please make sure that the program can be opened correctly 2. Modify the listening port:
The following is for the
redhat/centos
system, please make adjustments accordingly for other systems:1. If you are sure that the process can be opened correctly, go to step 2. If not, please make sure that the program can be opened correctly
2. Modify the listening port:
3. Authorize remote users:
4. Firewall open port:
I took a look just now. My.ini is the configuration file of mysql. If you change the port, it should be fine.