Permalink
Browse files

Default values for controlhost

  • Loading branch information...
1 parent 991cbfc commit 46ce1d765e4322a5765bc49b427168c44c2ca07d @lem9 lem9 committed Oct 29, 2011
Showing with 10 additions and 0 deletions.
  1. +1 −0 config.sample.inc.php
  2. +9 −0 libraries/config.default.php
View
@@ -40,6 +40,7 @@
*/
/* User used to manipulate with storage */
+// $cfg['Servers'][$i]['controlhost'] = '';
// $cfg['Servers'][$i]['controluser'] = 'pma';
// $cfg['Servers'][$i]['controlpass'] = 'pmapass';
@@ -152,6 +152,15 @@
$cfg['Servers'][$i]['compress'] = false;
/**
+ * MySQL control host. This permits to use a host different than the
+ * main host, for the phpMyAdmin configuration storage. If left empty,
+ * $cfg['Servers'][$i]['host'] is used instead.
+ *
+ * @global string $cfg['Servers'][$i]['controlhost']
+ */
+$cfg['Servers'][$i]['controlhost'] = '';
+
+/**
* MySQL control user settings (this user must have read-only
* access to the "mysql/user" and "mysql/db" tables). The controluser is also
* used for all relational features (pmadb)

0 comments on commit 46ce1d7

Please sign in to comment.