Annotation of /trunk/phpmyadmin/config.inc
Parent Directory | Revision Log
Revision 1008 -
(hide annotations)
(download)
Sun Mar 7 18:01:09 2010 UTC (14 years, 6 months ago) by niro
File size: 5753 byte(s)
Sun Mar 7 18:01:09 2010 UTC (14 years, 6 months ago) by niro
File size: 5753 byte(s)
-updated to work with phpmyadmin >=3.2.5
1 | niro | 251 | <?php |
2 | |||
3 | niro | 1008 | /* |
4 | * This is needed for cookie based authentication to encrypt password in | ||
5 | * cookie | ||
6 | niro | 251 | */ |
7 | niro | 1008 | $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ |
8 | niro | 251 | |
9 | /** | ||
10 | * Server(s) configuration | ||
11 | */ | ||
12 | $i = 0; | ||
13 | // The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use | ||
14 | // $cfg['Servers'][0]. You can disable a server config entry by setting host | ||
15 | // to ''. If you want more than one server, just copy following section | ||
16 | // (including $i incrementation) serveral times. There is no need to define | ||
17 | // full server array, just define values you need to change. | ||
18 | $i++; | ||
19 | $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address | ||
20 | $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port | ||
21 | $cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket | ||
22 | $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') | ||
23 | $cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli') | ||
24 | $cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection | ||
25 | // (requires PHP >= 4.3.0) | ||
26 | $cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings | ||
27 | // (this user must have read-only | ||
28 | $cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" | ||
29 | // and "mysql/db" tables). | ||
30 | // The controluser is also | ||
31 | // used for all relational | ||
32 | // features (pmadb) | ||
33 | niro | 1008 | $cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)? |
34 | niro | 252 | $cfg['Servers'][$i]['user'] = ''; // MySQL user |
35 | niro | 251 | $cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed |
36 | // with 'config' auth_type) | ||
37 | $cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only | ||
38 | // this db is displayed in left frame | ||
39 | // It may also be an array of db-names, where sorting order is relevant. | ||
40 | $cfg['Servers'][$i]['hide_db'] = ''; // Database name to be hidden from listings | ||
41 | $cfg['Servers'][$i]['verbose'] = ''; // Verbose name for this host - leave blank to show the hostname | ||
42 | |||
43 | $cfg['Servers'][$i]['pmadb'] = ''; // Database used for Relation, Bookmark and PDF Features | ||
44 | // (see scripts/create_tables.sql) | ||
45 | // - leave blank for no support | ||
46 | // DEFAULT: 'phpmyadmin' | ||
47 | $cfg['Servers'][$i]['bookmarktable'] = ''; // Bookmark table | ||
48 | // - leave blank for no bookmark support | ||
49 | // DEFAULT: 'pma_bookmark' | ||
50 | $cfg['Servers'][$i]['relation'] = ''; // table to describe the relation between links (see doc) | ||
51 | // - leave blank for no relation-links support | ||
52 | // DEFAULT: 'pma_relation' | ||
53 | $cfg['Servers'][$i]['table_info'] = ''; // table to describe the display fields | ||
54 | // - leave blank for no display fields support | ||
55 | // DEFAULT: 'pma_table_info' | ||
56 | $cfg['Servers'][$i]['table_coords'] = ''; // table to describe the tables position for the PDF schema | ||
57 | // - leave blank for no PDF schema support | ||
58 | // DEFAULT: 'pma_table_coords' | ||
59 | $cfg['Servers'][$i]['pdf_pages'] = ''; // table to describe pages of relationpdf | ||
60 | // - leave blank if you don't want to use this | ||
61 | // DEFAULT: 'pma_pdf_pages' | ||
62 | $cfg['Servers'][$i]['column_info'] = ''; // table to store column information | ||
63 | // - leave blank for no column comments/mime types | ||
64 | // DEFAULT: 'pma_column_info' | ||
65 | $cfg['Servers'][$i]['history'] = ''; // table to store SQL history | ||
66 | // - leave blank for no SQL query history | ||
67 | // DEFAULT: 'pma_history' | ||
68 | $cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your pma_* tables | ||
69 | // are up to date. This prevents compatibility | ||
70 | // checks and thereby increases performance. | ||
71 | $cfg['Servers'][$i]['AllowRoot'] = TRUE; // whether to allow root login | ||
72 | $cfg['Servers'][$i]['AllowDeny']['order'] // Host authentication order, leave blank to not use | ||
73 | = ''; | ||
74 | $cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults | ||
75 | = array(); | ||
76 | |||
77 | niro | 425 | $cfg['DisplayDatabasesList'] = FALSE; // show a drop-down menu for databases |
78 | |||
79 | niro | 251 | ?> |