Skip to content

Instantly share code, notes, and snippets.

@devd123
Created April 25, 2017 06:21
Show Gist options
  • Save devd123/5d9349535b0acad1f64a2621d0dcb7ec to your computer and use it in GitHub Desktop.
Save devd123/5d9349535b0acad1f64a2621d0dcb7ec to your computer and use it in GitHub Desktop.
multiple host login in phpmyadmin
// Add this code in etc/phpmyadmin/config.inc.php file of lamp
$i++;
$cfg['Servers'][$i]['host'] = 'yourhostname';
$cfg['Servers'][$i]['port'] = '3306';
$cfg['Servers'][$i]['verbose'] = 'SERVER_NAME';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = TRUE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment