By default, phpMyAdmin shows me 30 rows whenever I load a table (the query contains "LIMIT 30"). I generally want to see (up to) a few hundred rows.
Is there a way to change that default setting?
By default, phpMyAdmin shows me 30 rows whenever I load a table (the query contains "LIMIT 30"). I generally want to see (up to) a few hundred rows.
Is there a way to change that default setting?
Find the file config.inc.php in your phpmyadmin directory
Edit it in any text editor
$cfg['MaxRows']$cfg['MaxRows'] = 30; ) just edit the number (30) to the number of rows you like
-- if that line doesn't exist just Add it at the end of the file before the ?> tag as follow:
......
$cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman/5.1/en';
$cfg['MySQLManualType'] = 'searchable';
$cfg['MaxRows'] = 1000;
?>
The answers that refer to updating the MaxRows value in config.inc.php are correct, however, they fail to mention that this setting may be missing from config.inc.php.
The more complete procedure is as follows:
If the line is not present (it is missing in the default installation) then go to the bottom of the document and add the row
$cfg['MaxRows'] = 50;
You can set the value for the 'MaxRows' attribute can be set to any one of the following: 25, 50, 100, 250, 500
Notice that there is a file called config.sample.inc.php in the phpMyAdmin directory. If you open this, you will see a list of possible settings (and some explanations) that you can add to your config.inc.php file to further configure phpMyAdmin.
I hope that this helps.