Skip to content

Instantly share code, notes, and snippets.

@glavk
Last active January 30, 2021 19:00
Show Gist options
  • Save glavk/3745a731b6a302281e947d043a96ae23 to your computer and use it in GitHub Desktop.
Save glavk/3745a731b6a302281e947d043a96ae23 to your computer and use it in GitHub Desktop.
PHPMyAdmin multiple servers
$i++;
$cfg['Servers'][$i]['verbose'] = 'Database Server 2';
$cfg['Servers'][$i]['host'] = '192.168.1.102';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['AllowNoPassword'] = false;

https://docs.phpmyadmin.net/en/latest/config.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment