Home  >  Article  >  Database  >  How to modify the port of phpmyadmin

How to modify the port of phpmyadmin

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-12-10 14:26:436423browse

How to modify the port of phpmyadmin

Just modify the configuration file config.default.php under the libraries in the phpmyadmin directory.

$cfg['Servers'][$i]['port'] = ''

This comment indicates that empty here means that the default port 3306 of MySQL is used. Just change it to:

$cfg['Servers'][$i]['port'] = '3307';

PHP Chinese website, there are a lot of free phpmyadmin introductory tutorials, everyone is welcome to learn!

The above is the detailed content of How to modify the port of phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn