Translated using Weblate.
[phpmyadmin.git] / examples / config.manyhosts.inc.php
blobd006cde699c27f5a03767523b6e56cfb7d23d5f5
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]['designer_coords'] = 'pma_designer_coords';