Translated using Weblate (Italian)
[phpmyadmin.git] / examples / config.manyhosts.inc.php
blob751bd5b5871b57efb34cc671f100209fd77688fe
1 <?php
2 /**
3 * This example configuration shows how to configure phpMyAdmin for
4 * many hosts that all have identical configuration otherwise. To add
5 * a new host, just drop it into $hosts below. Contributed by
6 * Matthew Hawkins.
8 * @package PhpMyAdmin
9 * @subpackage Example
12 $i=0;
13 $hosts = array (
14 "foo.example.com",
15 "bar.example.com",
16 "baz.example.com",
17 "quux.example.com",
20 foreach ($hosts as $host) {
21 $i++;
22 $cfg['Servers'][$i]['host'] = $host;
23 $cfg['Servers'][$i]['port'] = '';
24 $cfg['Servers'][$i]['socket'] = '';
25 $cfg['Servers'][$i]['connect_type'] = 'tcp';
26 $cfg['Servers'][$i]['compress'] = false;
27 $cfg['Servers'][$i]['controluser'] = 'pma';
28 $cfg['Servers'][$i]['controlpass'] = 'pmapass';
29 $cfg['Servers'][$i]['auth_type'] = 'cookie';
30 $cfg['Servers'][$i]['user'] = '';
31 $cfg['Servers'][$i]['password'] = '';
32 $cfg['Servers'][$i]['only_db'] = '';
33 $cfg['Servers'][$i]['verbose'] = '';
34 $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
35 $cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
36 $cfg['Servers'][$i]['relation'] = 'pma__relation';
37 $cfg['Servers'][$i]['table_info'] = 'pma__table_info';
38 $cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
39 $cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
40 $cfg['Servers'][$i]['column_info'] = 'pma__column_info';
41 $cfg['Servers'][$i]['history'] = 'pma__history';
42 $cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
43 $cfg['Servers'][$i]['tracking'] = 'pma__tracking';
44 $cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
45 $cfg['Servers'][$i]['recent'] = 'pma__recent';
46 $cfg['Servers'][$i]['users'] = 'pma__users';
47 $cfg['Servers'][$i]['usergroups'] = 'pma__usergroups';
48 $cfg['Servers'][$i]['navigationhiding'] = 'pma__navigationhiding';
49 $cfg['Servers'][$i]['savedsearches'] = 'pma__savedsearches';
50 $cfg['Servers'][$i]['central_columns'] = 'pma__central_columns';