phpMyAdmin: change default number of rows displayed?

前端 未结 10 1266
我在风中等你
我在风中等你 2020-12-09 01:36

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

相关标签:
10条回答
  • 2020-12-09 02:27

    In your phpMyAdmin directory, there will be a file called "config.inc.php".

    Find the line where it sets the MaxRows value:

    $cfg['MaxRows'] = 1000;
    

    And change the value to whatever you want.

    0 讨论(0)
  • 2020-12-09 02:28

    There is a config setting for this:

    http://www.phpmyadmin.net/documentation/Documentation.html#cfg_MaxRows

    0 讨论(0)
  • 2020-12-09 02:29
    1. Find the file config.inc.php in your phpmyadmin directory

    2. Edit it in any text editor

    3. look for the line which contains the word $cfg['MaxRows']
    4. if it has value like this ($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:

    As shown in the picture

    ......
    
    $cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman/5.1/en';
    $cfg['MySQLManualType'] = 'searchable';
    
    $cfg['MaxRows'] = 1000;
    
    ?>
    
    0 讨论(0)
  • 2020-12-09 02:32

    Using phpMyAdmin version 3.4 and above you are able to change the default rows shown by:

    On the phpMyAdmin home screen click Settings >> Main frame >> Browse mode and altering the value within Maximum number of rows to display.

    0 讨论(0)
提交回复
热议问题