mysql - phpmyadmin doesn't respond after timeout. What can I do?
问题描述
I made a query in phpmyadmin that took a long time and in the end it timed out. After it timed out, I have been unable to access phpmyadmin again. I don't get an error, the website just keeps loading and nothing happens.
I've tried accessing the database via scripts, and that works fine, just can't use phpmyadmin.
This has happened a few time before, always after timing out. And I've always just had to wait for quite some time. I usually just try again a few hours later or the next day and then it works. But, that is a bit annoying when I am working on something.
Is there anything I can do to prevent this from happening (other than just making sure my queries won't take so long)? It feels like phpmyadmin is still working on the query, even though it timed out, and that's why it doesn't respond, but I would just like it to stop running the query.
解决方案
您可以重新启动服务,我的意思是 apache 以清理缓冲区等。另外我建议您显示当前连接SHOW PROCESSLIST
推荐阅读
- html - 发布请求后重定向
- java - 抽象类和嵌套类的ArrayList冲突
- python - Hackerrank 对角线差异,我的代码有什么问题?
- c# - 想要得到 405(不允许的方法)而不是 404
- ionic-framework - ionic 4 增加复选框图标大小
- angular - Angular - 将字符串解析为 {{ dataObject + VARIABLE }} where VARIABLE = 'object?.key.something | 管道'
- python-3.x - 使用 tkinter 使用套接字客户端的 pythonic 方法是什么?
- javascript - 在 puppeteer 请求中使用不同的 IP 地址
- reactjs - Cypress 找不到 Material-UI 的 textarea
- php - PHP - 使用空合并运算符通过引用赋值