Blogvaria

This page is brought to you by Blogvaria (http://blog.evaria.com).

To obtain more information, ask questions and interact please visit our website.

Back to Blogvaria landing page
Feedback
Subscribe
   
Blogvaria

 

The personal pages

phpMyAdmin Tips and Tricks

TrackBack | Filed by Thomas under Programming | Post popularity 4%

When dealing with database driven websites you probably (like me) use phpMyAdmin to manage and maintain your database(s). Below is a few useful “one-liners” gathered over the years…

Modifying the configuration settings

By modifying config.inc.php in the root directory where you installed phpMyAdmin you can add numerous additional functions and features. All it takes is adding a line or two.

Default theme

$cfg['ThemeDefault'] = 'some_theme';

Link to phpinfo()

$cfg['ShowPhpInfo'] = TRUE;

“Show all” rows button

$cfg['ShowAll'] = TRUE;

Hide databases from the menu

$cfg['Servers'][$i]['hide_db'] = '(test|mysql|etc...)';

Setting the fontsize

if ( !isset($_COOKIE['pma_fontsize']) ) :
    $_GET['fontsize'] = "80%"; # Whatever size you like
endif;

More options are available by browsing libraries/config.default.php which is very well documented.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • BlinkList
  • blogmarks
  • del.icio.us
  • De.lirio.us
  • digg
  • Furl
  • NewsVine
  • Netscape
  • Reddit
  • Spurl
  • SphereIt
  • Technorati
  • YahooMyWeb
  • DZone
  • feedmelinks
  • Linkter
  • Ma.gnolia
  • Slashdot
  • StumbleUpon
  • TailRank
  • co.mments

No comments yet.

Leave a Comment

Akismet has protected Blogvaria from 78,808 spam comments. Design by Evaria.com. Powered by WordPress.
Our beloved and trusted server has rendered 2.776 pages so far today, an amazing 5.559 pages yesterday
and even more astonishingly 153.536 pages since 18 October 2008 alone without dropping a byte nor a pixel.

Close
E-mail It