1 |
<?php |
<?php |
2 |
|
/** |
3 |
|
* phpMyAdmin configuration file, you can use it as base for the manual |
4 |
|
* configuration. For easier setup you can use "setup/". |
5 |
|
* |
6 |
|
* All directives are explained in Documentation.html and on phpMyAdmin |
7 |
|
* wiki <http://wiki.phpmyadmin.net>. |
8 |
|
*/ |
9 |
|
|
10 |
/* |
/* |
11 |
* This is needed for cookie based authentication to encrypt password in |
* This is needed for cookie based authentication to encrypt password in |
12 |
* cookie |
* cookie |
13 |
*/ |
*/ |
14 |
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ |
$cfg['blowfish_secret'] = 'MUSTBECHANGEDONINSTALL'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ |
15 |
|
|
16 |
/** |
/** |
17 |
* Server(s) configuration |
* Server(s) configuration |
18 |
*/ |
*/ |
19 |
$i = 0; |
$i = 0; |
20 |
|
|
21 |
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use |
// The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use |
22 |
// $cfg['Servers'][0]. You can disable a server config entry by setting host |
// $cfg['Servers'][0]. You can disable a server config entry by setting host |
23 |
// to ''. If you want more than one server, just copy following section |
// to ''. If you want more than one server, just copy following section |
28 |
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port |
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port |
29 |
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket |
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket |
30 |
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') |
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') |
31 |
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli') |
$cfg['Servers'][$i]['extension'] = 'mysqli'; // The php MySQL extension to use ('mysql' or 'mysqli') |
32 |
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection |
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection |
33 |
// (requires PHP >= 4.3.0) |
// (requires PHP >= 4.3.0) |
34 |
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings |
$cfg['Servers'][$i]['controluser'] = ''; // MySQL control user settings |
38 |
// The controluser is also |
// The controluser is also |
39 |
// used for all relational |
// used for all relational |
40 |
// features (pmadb) |
// features (pmadb) |
41 |
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)? |
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? |
42 |
$cfg['Servers'][$i]['user'] = ''; // MySQL user |
$cfg['Servers'][$i]['user'] = ''; // MySQL user |
43 |
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed |
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed |
44 |
// with 'config' auth_type) |
// with 'config' auth_type) |
81 |
= ''; |
= ''; |
82 |
$cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults |
$cfg['Servers'][$i]['AllowDeny']['rules'] // Host authentication rules, leave blank for defaults |
83 |
= array(); |
= array(); |
84 |
|
$cfg['Servers'][$i]['AllowNoPassword'] // Allow logins without a password. Do not change the FALSE |
85 |
|
= FALSE; // default unless you're running a passwordless MySQL server |
86 |
|
$cfg['Servers'][$i]['designer_coords'] // Leave blank (default) for no Designer support, otherwise |
87 |
|
= ''; // set to suggested 'pma_designer_coords' if really needed |
88 |
|
$cfg['Servers'][$i]['bs_garbage_threshold'] // Blobstreaming: Recommented default value from upstream |
89 |
|
= 50; // DEFAULT: '50' |
90 |
|
$cfg['Servers'][$i]['bs_repository_threshold'] // Blobstreaming: Recommented default value from upstream |
91 |
|
= '32M'; // DEFAULT: '32M' |
92 |
|
$cfg['Servers'][$i]['bs_temp_blob_timeout'] // Blobstreaming: Recommented default value from upstream |
93 |
|
= 600; // DEFAULT: '600' |
94 |
|
$cfg['Servers'][$i]['bs_temp_log_threshold'] // Blobstreaming: Recommented default value from upstream |
95 |
|
= '32M'; // DEFAULT: '32M' |
96 |
|
/* |
97 |
|
* End of servers configuration |
98 |
|
*/ |
99 |
|
|
100 |
$cfg['DisplayDatabasesList'] = FALSE; // show a drop-down menu for databases |
/* |
101 |
|
* Directories for saving/loading files from server |
102 |
|
*/ |
103 |
|
$cfg['UploadDir'] = '/var/lib/phpmyadmin/upload'; |
104 |
|
$cfg['SaveDir'] = '/var/lib/phpmyadmin/save'; |
105 |
|
|
106 |
|
/* |
107 |
|
* Disable the default warning that is displayed on the DB Details Structure |
108 |
|
* page if any of the required Tables for the relation features is not found |
109 |
|
*/ |
110 |
|
$cfg['PmaNoRelation_DisableWarning'] = TRUE; |
111 |
?> |
?> |