Loop through database hosts
This commit is contained in:
parent
82012ccb99
commit
0f809c7799
2 changed files with 7 additions and 4 deletions
|
@ -22,9 +22,10 @@ foreach ($hosts as $verbose => $host) {
|
|||
$cfg['Servers'][$i]['extension'] = 'mysqli';
|
||||
$cfg['Servers'][$i]['compress'] = FALSE;
|
||||
$cfg['Servers'][$i]['auth_type'] = 'cookie';
|
||||
$cfg['Servers'][$i]['pmadb'] = '{{ phpmyadmin_database }}';
|
||||
$cfg['Servers'][$i]['controlhost'] = $host;
|
||||
$cfg['Servers'][$i]['controlport'] = '3306';
|
||||
$cfg['Servers'][$i]['controluser'] = '{{ phpmyadmin_dbuser }}';
|
||||
$cfg['Servers'][$i]['controlpass'] = '{{ phpmyadmin_dbpass }}';
|
||||
$cfg['Servers'][$i]['controluser'] = '{{ phpmyadmin_database }}';
|
||||
$cfg['Servers'][$i]['controlpass'] = '{{ phpmyadmin_database_password }}';
|
||||
}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue