1 |
<?php |
<?php |
2 |
|
|
3 |
/** |
/* |
4 |
* Your phpMyAdmin URL. |
* This is needed for cookie based authentication to encrypt password in |
5 |
* |
* cookie |
|
* 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. |
|
|
* |
|
|
* In most cases you can leave this variable empty, as the correct value |
|
|
* will be detected automatically. However, we recommend that you do |
|
|
* test to see that the auto-detection code works in your system. A good |
|
|
* test is to browse a table, then edit a row and save it. There will be |
|
|
* an error message if phpMyAdmin cannot auto-detect the correct value. |
|
6 |
*/ |
*/ |
7 |
$cfg['PmaAbsoluteUri'] = ''; |
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ |
8 |
|
|
9 |
/** |
/** |
10 |
* Server(s) configuration |
* Server(s) configuration |
19 |
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address |
$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address |
20 |
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port |
$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 |
$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? |
|
22 |
$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') |
23 |
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli') |
$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 |
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection |
30 |
// The controluser is also |
// The controluser is also |
31 |
// used for all relational |
// used for all relational |
32 |
// features (pmadb) |
// features (pmadb) |
33 |
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (valid choices: config, http, HTTP, signon or cookie) |
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)? |
34 |
$cfg['Servers'][$i]['user'] = ''; // MySQL user |
$cfg['Servers'][$i]['user'] = ''; // MySQL user |
35 |
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed |
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed |
36 |
// 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 |
|
37 |
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only |
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only |
38 |
// this db is displayed in left frame |
// this db is displayed in left frame |
39 |
// 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. |
65 |
$cfg['Servers'][$i]['history'] = ''; // table to store SQL history |
$cfg['Servers'][$i]['history'] = ''; // table to store SQL history |
66 |
// - leave blank for no SQL query history |
// - leave blank for no SQL query history |
67 |
// 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' |
|
68 |
$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 |
69 |
// are up to date. This prevents compatibility |
// are up to date. This prevents compatibility |
70 |
// checks and thereby increases performance. |
// checks and thereby increases performance. |