Does mysql port have to be 3306?
If the port is already occupied, you can terminate the process occupying the port to release 3306 You can use the port.
In addition, you do not have to use port 3306 to install mysql. You can change to another port. Just replace 3306 with the port you specify in the statement to connect to mysql. , I think this will not affect your normal use.
I hope it will be helpful to you.
mysql related introduction:
MySQL is an open source relational database management system (RDBMS) that uses the most commonly used database management language - Structured Query Language (SQL) for database management.
MySQL is open source, so anyone can download it and modify it according to personal needs under the General Public License.
MySQL has attracted much attention because of its speed, reliability and adaptability. Most people agree that MySQL is the best choice for managing content without transactional processing.
Recommended tutorial: "mysql tutorial"
The above is the detailed content of Does mysql port have to be 3306?. For more information, please follow other related articles on the PHP Chinese website!