phpMyAdmin Tip - Display More Default Rows

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

phpMyAdmin Tip - Display More Default Rows

Postby mpetrovich » Thu Oct 30, 2008 2:40 pm

For me, one of the annoying things with phpMyAdmin was the default to only display 30 rows at a time. In development, I always needed to display more rows. And to do that, you have to change the starting record and the number of rows.

Here is how to configure phpMyAdmin to display more rows:

In the phpMyAdmin directory, edit "config.inc.php"

To change from the default of 30 rows to 1000 rows, Add the following line:
Syntax: [ Download ] [ Hide ]
$cfg['MaxRows'] = 1000;


After a few weeks with this change, it has been wonderful. 1000 seems to be a pretty good number for local work.
mpetrovich
Forum Commoner
 
Posts: 51
Joined: Fri Oct 19, 2007 2:02 am
Location: Vancouver, WA, USA

Re: phpMyAdmin Tip - Display More Default Rows

Postby Jade » Tue Nov 04, 2008 5:01 pm

Lol, that would slow EVERYTHING down for me. No thanks, my servers have enough problems as it is without displaying even more rows. Nice tip though.
design1online.com | games for girls
Blog: Online Game Design
User avatar
Jade
Forum Regular
 
Posts: 642
Joined: Sun Dec 29, 2002 6:40 pm
Location: VA


Return to Databases

Who is online

Users browsing this forum: No registered users and 1 guest