Line 40... |
Line 40... |
40 |
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If |
40 |
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If |
41 |
* at least one server configuration uses 'cookie' auth_type, enter here a |
41 |
* at least one server configuration uses 'cookie' auth_type, enter here a |
42 |
* passphrase that will be used by blowfish. The maximum length seems to be 46 |
42 |
* passphrase that will be used by blowfish. The maximum length seems to be 46 |
43 |
* characters. |
43 |
* characters. |
44 |
*/ |
44 |
*/ |
45 |
$cfg['blowfish_secret'] = ''; |
45 |
$cfg['blowfish_secret'] = 'cookie'; |
46 |
|
46 |
|
47 |
/** |
47 |
/** |
48 |
* Server(s) configuration |
48 |
* Server(s) configuration |
49 |
*/ |
49 |
*/ |
50 |
$i = 0; |
50 |
$i = 0; |
Line 66... |
Line 66... |
66 |
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" |
66 |
$cfg['Servers'][$i]['controlpass'] = ''; // access to the "mysql/user" |
67 |
// and "mysql/db" tables). |
67 |
// and "mysql/db" tables). |
68 |
// The controluser is also |
68 |
// The controluser is also |
69 |
// used for all relational |
69 |
// used for all relational |
70 |
// features (pmadb) |
70 |
// features (pmadb) |
71 |
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)? |
71 |
$cfg['Servers'][$i]['auth_type'] = 'cookie'; // Authentication method (config, http or cookie based)? |
72 |
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user |
72 |
$cfg['Servers'][$i]['user'] = ''; // MySQL user |
73 |
$cfg['Servers'][$i]['password'] = '321hehe'; // MySQL password (only needed |
73 |
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed |
74 |
// with 'config' auth_type) |
74 |
// with 'config' auth_type) |
75 |
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only |
75 |
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only |
76 |
// this db is displayed in left frame |
76 |
// this db is displayed in left frame |
77 |
// It may also be an array of db-names, where sorting order is relevant. |
77 |
// It may also be an array of db-names, where sorting order is relevant. |
78 |
$cfg['Servers'][$i]['hide_db'] = ''; // Database name to be hidden from listings |
78 |
$cfg['Servers'][$i]['hide_db'] = ''; // Database name to be hidden from listings |