phpMyAdmin is missing pagination button in MySQL views

。_饼干妹妹 提交于 2019-12-10 19:42:30

问题


My phpMyAdmin is missing pagination buttons when showing a view. My view have about 20.000 rows.

How I can enable pagination buttons on views?


回答1:


Essentially I have to enable row counting for views, by adding this line at the botton of the file config.inc.php (placed in the phpMyAdmin install directory):

$cfg['MaxExactCountViews'] = 100000;

100000 is the maximum number of rows that you estimate the view will contain. This parameter is defaulted to zero, probably because the row counting impacts on performance. Is it possible to page through a view in phpmyadmin?

Found the answer here (the answer was not clear to mein the first, but I tried and I worked): Is it possible to page through a view in phpmyadmin?



来源:https://stackoverflow.com/questions/21182223/phpmyadmin-is-missing-pagination-button-in-mysql-views

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!