Skip to content

Instantly share code, notes, and snippets.

@ain
Created July 14, 2012 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ain/3112087 to your computer and use it in GitHub Desktop.
Save ain/3112087 to your computer and use it in GitHub Desktop.
phpMyAdmin configuration for local development sandbox on Mac OS X
<?php
/**
* phpMyAdmin configuration
*
* For local development sandbox on Mac OS X
* with Mac-bundled PHP and Apache instances
*
* phpMyAdmin 3.5.2
*/
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'socket';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
/* End of servers configuration */
$cfg['DefaultLang'] = 'en';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
/* Remove login requirement */
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* Turn on Database DROP */
$cfg['AllowUserDropDatabase'] = true;
/* Turn off PHP mcrypt complaints */
$cfg['McryptDisableWarning'] = true;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment