Skip to content

Instantly share code, notes, and snippets.

@erlangparasu
Created March 10, 2020 17:06
Show Gist options
  • Save erlangparasu/e924b6b6eafa5e55542c07e01d78e64c to your computer and use it in GitHub Desktop.
Save erlangparasu/e924b6b6eafa5e55542c07e01d78e64c to your computer and use it in GitHub Desktop.
// ...
/**
* Servers configuration
*/
$i = 0;
// I
$i++;
/* Authentication type */
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
// II
$i++;
/* Authentication type */
$cfg['Servers'][$i]['port'] = '3307';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment