Current location - Quotes Website - Collection of slogans - Mysql modified the port website. Does it need to be revised?
Mysql modified the port website. Does it need to be revised?
MySQL is a relational database management system.

The usual port number is 3306, which can be customized and modified.

There will be a configuration file in the configuration file of the website background connection database, which will set the database address, port number, user name and password related items of the connection database, as shown in the following figure:

If MYSQL is the default port 3306, you can omit the port number.

If MYSQL modifies the port, you need to add the port number after the address. Just modify the corresponding port in the config configuration file, the database can be accessed normally and the website can run normally, as shown in the following figure: