简体   繁体   English

加载行时,PHPMyAdmin锁定

[英]PHPMyAdmin locks up when loading rows

I have been using PHPMyAdmin to manage our internal websites for years, and it has always worked really well. 多年来,我一直在使用PHPMyAdmin来管理我们的内部网站,并且它一直都运行良好。 However, a few months ago I noticed that it was starting to run slow - specifically when trying to load rows in a table. 但是,几个月前,我注意到它开始运行缓慢-特别是在尝试加载表中的行时。 It took me a few months to sit down and start working on it, and it's to the point where it seems like PHPMyAdmin just gives up - it just gets stuck on loading. 我花了几个月的时间来坐下来并开始研究它,以至于看起来PHPMyAdmin只是放弃了-它只是在加载时卡住了。 And we aren't talking large tables here either - the largest is 26,000 rows, but this happens on all, including ones with say 90 rows. 而且我们这里也不是在讨论大型表,最大的表是26,000行,但这在所有情况下都会发生,包括具有90行的表。 They are InnoDB tables. 它们是InnoDB表。

Basically, I log into PHPMyAdmin, bring up a database, bring up a table, and hit the arrow for next set of rows, or last set of rows (It's the same either way), and PHPMyAdmin just hangs there saying Loading. 基本上,我登录PHPMyAdmin,启动数据库,启动表,然后按箭头指向下一组行或最后一组行(两种方式都相同),然后PHPMyAdmin挂在那里说“正在加载”。 It's completely stuck at that point, I need to reload the webpage to do anything else. 到此为止,它完全卡住了,我需要重新加载网页才能执行其他任何操作。 If I run a SQL query or Search it works fine, and I have not experienced any slowdown on any of our webistes. 如果我运行SQL查询或“搜索”,则效果很好,而且我的任何网络专家都没有遇到任何问题。 I even installed Adminer this morning and performed the same tasks and it runs great. 我今天早上甚至安装了Adminer并执行了相同的任务,并且运行良好。 So it seems like an issue with PHPMyAdmin. 因此,PHPMyAdmin似乎是一个问题。

I did add $cfg['MaxExactCount'] = 0; 我确实添加了$cfg['MaxExactCount'] = 0; and $cfg['MaxExactCountViews'] = 0; $cfg['MaxExactCountViews'] = 0; to my config.inc.php file. 到我的config.inc.php文件。 I did also run set global innodb_stats_on_metadata=0 in sql, both suggestions I found on here. 我也确实在sql中运行set global innodb_stats_on_metadata=0 ,这两个建议都在这里找到。 Neither has helped. 两者都没有帮助。

I was a few versions behind on MySQL, PHP and PHPMyAdmin so I upgraded (although still not to the latest, it seems like jumping from PHP5 to 7 is an involved process). 我在MySQL,PHP和PHPMyAdmin上落后几个版本,所以我进行了升级(尽管仍未升级到最新版本,但似乎需要从PHP5升级到7)。 Here is what I'm running: 这是我正在运行的:

  • Windows 2012 server Windows 2012服务器
  • IIS8 IIS8
  • PHP 5.6.30 PHP 5.6.30
  • MySQL 5.5.54 (I see that PHP sees the Client API as mysqlnd-5.0.11-dev if that makes a difference) MySQL 5.5.54(如果有区别,我认为PHP将Client API视为mysqlnd-5.0.11-dev)
  • PHPMyAdmin 4.6.6 PHPMyAdmin 4.6.6

Any suggestions you might be able to provide to help me try to resolve this issue would be greatly appreciated! 我们将不胜感激您可能提供的任何建议来帮助我尝试解决此问题!

So, I thought I checked this before posting my initial question, but I tried accessing PHPMyAdmin locally on the server and it worked fine. 因此,我以为在发布最初的问题之前已经检查了此问题,但是我尝试在服务器上本地访问PHPMyAdmin,并且工作正常。 I then tried two other computers and those both work fine. 然后,我尝试了另外两台计算机,它们都可以正常工作。 So i don't know what's going on with mine, but it appears to be isolated to my computer. 因此,我不知道我的情况如何,但它似乎与我的计算机隔离。 Since I already have plans to re-image it shortly, there's no need to continue looking into this. 由于我已经计划在短期内对其进行重新映像,因此无需继续对此进行研究。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM