How can I set a default sort for tables in PHPMyAdmin (i.e. always “Primary key - Descending”)

后端 未结 7 1017
情书的邮戳
情书的邮戳 2020-12-11 01:19

Even though its obnoxious in a lot of ways I use PHPMyAdmin all the time to debug database issues while writing PHP. By default it sorts tables by primary key ascending. 99%

7条回答
  •  [愿得一人]
    2020-12-11 01:36

    @jeremyclarke, in phpMyAdmin v3.4.5, after login click "home" then, from "More" menu choose "Settings" click "Main frame" tab, then "Browse mode" tab

    There you'll find "Default sorting order" the default mode is set to SMART hence, choose "ASC" or "DESC"

    If you do the above steps, it will be saved for the current session,

    to save it permanently set it in config.php http://wiki.phpmyadmin.net/pma/Config#Order

提交回复
热议问题