Skip to content

Instantly share code, notes, and snippets.

@jcsrb
Created February 14, 2012 19:50
Show Gist options
  • Save jcsrb/1829655 to your computer and use it in GitHub Desktop.
Save jcsrb/1829655 to your computer and use it in GitHub Desktop.
setup phpMyAdmin on shared hosting
$cfg['Servers'][$i]['host'] = 'localhost'; //or diferent
$cfg['Servers'][$i]['user'] = 'username';
$cfg['Servers'][$i]['password'] = 'password';
$cfg['Servers'][$i]['only_db'] = array('databasename'); // if the user can't list databases
$cfg['PmaAbsoluteUri_DisableWarning'] = TRUE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment