Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / examples / config.manyhosts.inc.php
blobad29c3a83f771fe6cb81c7ed63313466b8c3a91a
1 <?php
3 /**
4 * This example configuration shows how to configure phpMyAdmin for
5 * many hosts that all have identical configuration otherwise. To add
6 * a new host, just drop it into $hosts below. Contributed by
7 * Matthew Hawkins.
8 */
10 $i=0;
11 $hosts = array (
12 "foo.example.com",
13 "bar.example.com",
14 "baz.example.com",
15 "quux.example.com",
18 foreach ($hosts as $host) {
19 $i++;
20 $cfg['Servers'][$i]['host'] = $host;
21 $cfg['Servers'][$i]['port'] = '';
22 $cfg['Servers'][$i]['socket'] = '';
23 $cfg['Servers'][$i]['connect_type'] = 'tcp';
24 $cfg['Servers'][$i]['extension'] = 'mysql';
25 $cfg['Servers'][$i]['compress'] = false;
26 $cfg['Servers'][$i]['controluser'] = 'pma';
27 $cfg['Servers'][$i]['controlpass'] = 'pmapass';
28 $cfg['Servers'][$i]['auth_type'] = 'cookie';
29 $cfg['Servers'][$i]['user'] = '';
30 $cfg['Servers'][$i]['password'] = '';
31 $cfg['Servers'][$i]['only_db'] = '';
32 $cfg['Servers'][$i]['verbose'] = '';
33 $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
34 $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
35 $cfg['Servers'][$i]['relation'] = 'pma__relation';
36 $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
37 $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
38 $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
39 $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
40 $cfg['Servers'][$i]['history'] = 'pma__history';
41 $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
42 $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
43 $cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
44 $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
45 $cfg['Servers'][$i]['recent'] = 'pma__recent';