Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

phpmyadmin: multiple servers

Status
Not open for further replies.

AlbertAguirre

Programmer
Nov 21, 2001
273
US
How do I configure my phpmysadmin to administer mysql databases on multiple servers?
 
From the documentation:

$cfg['Servers'] array
Since version 1.4.2, phpMyAdmin supports the administration of multiple MySQL servers. Therefore, a $cfg['Servers']-array has been added which contains the login information for the different servers. The first $cfg['Servers'][$i]['host'] contains the hostname of the first server, the second $cfg['Servers'][$i]['host'] the hostname of the second server, etc. In ./libraries/config.default.php, there is only one section for server definition, however you can put as many as you need in ./config.inc.php, copy that block or needed parts (you don't have to define all settings, just those you need to change).
 
i saw that but I need an example of how to edit the file to add a server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top