1 |
<?php |
<?php |
|
|
|
2 |
/** |
/** |
3 |
* Your phpMyAdmin URL. |
* phpMyAdmin configuration file, you can use it as base for the manual |
4 |
* |
* configuration. For easier setup you can use "setup/". |
|
* Complete the variable below with the full url ie |
|
|
* http://www.your_web.net/path_to_your_phpMyAdmin_directory/ |
|
|
* |
|
|
* It must contain characters that are valid for a URL, and the path is |
|
|
* case sensitive on some Web servers, for example Unix-based servers. |
|
5 |
* |
* |
6 |
* In most cases you can leave this variable empty, as the correct value |
* All directives are explained in Documentation.html and on phpMyAdmin |
7 |
* will be detected automatically. However, we recommend that you do |
* wiki <http://wiki.phpmyadmin.net>. |
8 |
* test to see that the auto-detection code works in your system. A good |
*/ |
9 |
* test is to browse a table, then edit a row and save it. There will be |
|
10 |
* an error message if phpMyAdmin cannot auto-detect the correct value. |
/* |
11 |
|
* This is needed for cookie based authentication to encrypt password in |
12 |
|
* cookie |
13 |
*/ |
*/ |
14 |
$cfg['PmaAbsoluteUri'] = ''; |
$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 |
27 |
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address |
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address |
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 |
|
$cfg['Servers'][$i]['ssl'] = false; // Use SSL for connecting to MySQL server? |
|
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'] = 'config'; // Authentication method (valid choices: config, http, HTTP, signon or cookie) |
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? |
42 |
$cfg['Servers'][$i]['user'] = 'root'; // 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) |
|
$cfg['Servers'][$i]['SignonSession'] = ''; // Session to use for 'signon' auth method |
|
|
$cfg['Servers'][$i]['SignonURL'] = ''; // URL where to redirect user to login for 'signon' auth method |
|
|
$cfg['Servers'][$i]['LogoutURL'] = ''; // URL where to redirect user after logout |
|
|
$cfg['Servers'][$i]['nopassword'] = FALSE; // Whether to try to connect without password |
|
45 |
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only |
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only |
46 |
// this db is displayed in left frame |
// this db is displayed in left frame |
47 |
// It may also be an array of db-names, where sorting order is relevant. |
// It may also be an array of db-names, where sorting order is relevant. |
73 |
$cfg['Servers'][$i]['history'] = ''; // table to store SQL history |
$cfg['Servers'][$i]['history'] = ''; // table to store SQL history |
74 |
// - leave blank for no SQL query history |
// - leave blank for no SQL query history |
75 |
// DEFAULT: 'pma_history' |
// DEFAULT: 'pma_history' |
|
$cfg['Servers'][$i]['designer_coords'] = ''; // table to store the coordinates for Designer |
|
|
// - leave blank for no Designer feature |
|
|
// DEFAULT: 'pma_designer_coords' |
|
76 |
$cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your pma_* tables |
$cfg['Servers'][$i]['verbose_check'] = TRUE; // set to FALSE if you know that your pma_* tables |
77 |
// are up to date. This prevents compatibility |
// are up to date. This prevents compatibility |
78 |
// checks and thereby increases performance. |
// checks and thereby increases performance. |
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 |
|
/* |
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 |
?> |
?> |