Magellan Linux

Annotation of /trunk/phpmyadmin/config.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (hide annotations) (download)
Tue Dec 11 08:37:36 2007 UTC (16 years, 5 months ago) by niro
File size: 7085 byte(s)
-show a dropdown menu for databases

1 niro 251 <?php
2    
3     /**
4     * Your phpMyAdmin URL.
5     *
6     * Complete the variable below with the full url ie
7     * http://www.your_web.net/path_to_your_phpMyAdmin_directory/
8     *
9     * It must contain characters that are valid for a URL, and the path is
10     * case sensitive on some Web servers, for example Unix-based servers.
11     *
12     * In most cases you can leave this variable empty, as the correct value
13     * will be detected automatically. However, we recommend that you do
14     * test to see that the auto-detection code works in your system. A good
15     * test is to browse a table, then edit a row and save it. There will be
16     * an error message if phpMyAdmin cannot auto-detect the correct value.
17     */
18     $cfg['PmaAbsoluteUri'] = '';
19    
20     /**
21     * Server(s) configuration
22     */
23     $i = 0;
24     // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
25     // $cfg['Servers'][0]. You can disable a server config entry by setting host
26     // to ''. If you want more than one server, just copy following section
27     // (including $i incrementation) serveral times. There is no need to define
28     // full server array, just define values you need to change.
29     $i++;
30     $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address
31     $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
32     $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
33     $cfg['Servers'][$i]['ssl'] = false; // Use SSL for connecting to MySQL server?
34     $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
35     $cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
36     $cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
37     // (requires PHP >= 4.3.0)
38     $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings
39     // (this user must have read-only
40     $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user"
41     // and "mysql/db" tables).
42     // The controluser is also
43     // used for all relational
44     // features (pmadb)
45 niro 252 $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (valid choices: config, http, HTTP, signon or cookie)
46     $cfg['Servers'][$i]['user'] = ''; // MySQL user
47 niro 251 $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
48     // with 'config' auth_type)
49     $cfg['Servers'][$i]['SignonSession'] = ''; // Session to use for 'signon' auth method
50     $cfg['Servers'][$i]['SignonURL'] = ''; // URL where to redirect user to login for 'signon' auth method
51     $cfg['Servers'][$i]['LogoutURL'] = ''; // URL where to redirect user after logout
52     $cfg['Servers'][$i]['nopassword'] = FALSE; // Whether to try to connect without password
53     $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
54     // this db is displayed in left frame
55     // It may also be an array of db-names, where sorting order is relevant.
56     $cfg['Servers'][$i]['hide_db'] = ''; // Database name to be hidden from listings
57     $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname
58    
59     $cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features
60     // (see scripts/create_tables.sql)
61     // - leave blank for no support
62     // DEFAULT: 'phpmyadmin'
63     $cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table
64     // - leave blank for no bookmark support
65     // DEFAULT: 'pma_bookmark'
66     $cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc)
67     // - leave blank for no relation-links support
68     // DEFAULT: 'pma_relation'
69     $cfg['Servers'][$i]['table_info'] = ''; // table to describe the display fields
70     // - leave blank for no display fields support
71     // DEFAULT: 'pma_table_info'
72     $cfg['Servers'][$i]['table_coords'] = ''; // table to describe the tables position for the PDF schema
73     // - leave blank for no PDF schema support
74     // DEFAULT: 'pma_table_coords'
75     $cfg['Servers'][$i]['pdf_pages'] = ''; // table to describe pages of relationpdf
76     // - leave blank if you don't want to use this
77     // DEFAULT: 'pma_pdf_pages'
78     $cfg['Servers'][$i]['column_info'] = ''; // table to store column information
79     // - leave blank for no column comments/mime types
80     // DEFAULT: 'pma_column_info'
81     $cfg['Servers'][$i]['history'] = ''; // table to store SQL history
82     // - leave blank for no SQL query history
83     // DEFAULT: 'pma_history'
84     $cfg['Servers'][$i]['designer_coords'] = ''; // table to store the coordinates for Designer
85     // - leave blank for no Designer feature
86     // DEFAULT: 'pma_designer_coords'
87     $cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your pma_* tables
88     // are up to date. This prevents compatibility
89     // checks and thereby increases performance.
90     $cfg['Servers'][$i]['AllowRoot'] = TRUE; // whether to allow root login
91     $cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use
92     = '';
93     $cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults
94     = array();
95    
96 niro 425 $cfg['DisplayDatabasesList'] = FALSE; // show a drop-down menu for databases
97    
98 niro 251 ?>