Home >Database >phpMyAdmin >How to specify the server IP and port when logging in to phpmyadmin

How to specify the server IP and port when logging in to phpmyadmin

藏色散人
藏色散人forward
2021-02-24 16:41:583007browse

The following tutorial column from phpmyadmin will introduce to you how to specify the server IP and port when logging in to phpmyadmin. I hope it will be helpful to friends in need!

How to specify the server IP and port when logging in to phpmyadmin

phpmyadmin is an open source web program for managing mysql. It is powerful and easy to use.

Often when we have multiple mysql servers to manage, we usually directly modify the server address and port in the configuration file. This is very inconvenient. Can we specify the mysql address and port when logging in? , the answer is yes, you just need to add a configuration item in the configuration file config.inc.php of phpmyadmin $cfg['AllowArbitraryServer'] = true; /* Allow custom servers, the default is false */



In this way, the login interface will have an additional server item. If not filled in, the server specified port in the configuration file will be used by default. Just put it after the server address. Just add a space and the port. Isn’t it very simple?^^

The above is the detailed content of How to specify the server IP and port when logging in to phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete