Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to skip table sorting in phpmyadmin

Tags:

phpmyadmin

As the default setting the table showed unsorted. If I eventually click any column the table will be sorted by ascending of this column. Everything what I can do later on is to pick another column or change the ordering direction (from ascending to descending and vice versa)

I can not figure out how to skip ordering at all.

like image 827
user2525317 Avatar asked Sep 25 '14 11:09

user2525317


People also ask

How do you sort data without using Order By clause in MySQL?

If the ASC or DESC modifier is not provided in the ORDER BY clause, the results will be sorted by expression in ascending order. This is equivalent to ORDER BY expression ASC . The ORDER BY clause can be used in a SELECT statement, SELECT LIMIT statement, and DELETE LIMIT statement in MySQL.

How do I move columns in phpMyAdmin?

Click on the table you wish to modify. Inside the table, you will see a list of columns. To the right of the column name, you will see a link called "Change" under the Actions. Click on the Change link for the column you wish to modify.


1 Answers

From the phpMyAdmin home page, go to Settings > Main panel > Browse mode (or Settings > Main frame for old versions), and uncheck the option Remember table's sorting, then click Save.

Then when browsing a table you can sort the columns as usual, but clicking Browse again will remove the sorting.

Tested on versions 3.5.2.2 and 4.0.10.14.

like image 160
Augusto Destrero Avatar answered Oct 04 '22 01:10

Augusto Destrero