Skip to content

Instantly share code, notes, and snippets.

@ikawka
Forked from nodesocket/config.inc.php
Created October 4, 2013 02:04
Show Gist options
  • Save ikawka/6819940 to your computer and use it in GitHub Desktop.
Save ikawka/6819940 to your computer and use it in GitHub Desktop.
phpMyAdmin Mod
<?php
$cfg['ShowPhpInfo'] = true;
$cfg['TitleTable'] = '@SERVER@ - @DATABASE@ - @TABLE@';
$cfg['TitleDatabase'] = '@SERVER@ - @DATABASE@';
$cfg['TitleServer'] = '@SERVER@';
$cfg['TitleDefault'] = '@SERVER@';
// 2 Hours Till Auto-Logout
$cfg['LoginCookieValidity'] = 7200;
$cfg['blowfish_secret'] = 'my-blowfish-secret-here';
$i = 0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = 'mysql1.local.mydomain.com';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = true;
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['Servers'][$i]['ssl'] = true;
$cfg['Servers'][$i]['controlhost'] = 'mysql1.local.mydomain.com';
$cfg['Servers'][$i]['controluser'] = 'phpmyadmin';
$cfg['Servers'][$i]['controlpass'] = 'my-password-here';
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
$cfg['Servers'][$i]['recent'] = 'pma_recent';
$cfg['RepeatCells'] = 0;
$cfg['LeftDisplayLogo'] = false;
$cfg['MaxCharactersInDisplayedSQL'] = 10000;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
$cfg['ThemeDefault'] = "";
$cfg['fontsize'] = "70%";
/**
* Defines whether a user should be displayed a "show all (records)"
* button in browse mode or not.
* default = false
*/
$cfg['ShowAll'] = true;
/**
* Number of rows displayed when browsing a result set. If the result
* set contains more rows, "Previous" and "Next".
* default = 30
*/
$cfg['MaxRows'] = 30;
/**
* Default language to use, if not browser-defined or user-defined
* (you find all languages in the locale folder)
* uncomment the desired line:
* default = 'en'
*/
$cfg['DefaultLang'] = 'en';
/**
* Set to true if you want DB-based query history.If false, this utilizes
* JS-routines to display query history (lost by window close)
*
* This requires configuration storage enabled, see above.
* default = false
*/
$cfg['QueryHistoryDB'] = false;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment