简体   繁体   中英

How to enable Server choosing on PhpMyAdmin?

I'm running XAMPP on my local host, and i want phpmyadmin to add another field of server on login page, so i can manage an external mysql server as well..

Is that possible?

Thanks

在phpMyAdmin配置文件中添加另一个配置块,有问题的文件是config.inc.php,确保在新的配置块之前执行$i++;

It's actually pretty easy. Just add another block of code for the second server.

The configuration starts at: $i++;
The configuration ends before: // If you have more than one server configured...

Just copy and paste that (make sure you include $i++ ), and change the settings to the new server.

You need to adjust the configuration of the mysql server you want to connect to so it allows connecting from the outside.

I suggest you use MySQL Workbench to administrate your mysql server(s).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM