admin管理员组

文章数量:1122846

I am working in a PHO environment in Heroku with ClearDB. At some point (really low), I get this error:

WordPress database error User 'XX' has exceeded the 'max_questions' resource (current value: 3600) for query SHOW TABLES LIKE 'wp\\_users' made by display_setup_form.

I guess this is an error due to use the free database plan of ClearDB. However, after getting that error (spotted in the server logs), the server is redirecting to the install screen.

Is there any way to catch that error, and avoid showing the install screen?

I am working in a PHO environment in Heroku with ClearDB. At some point (really low), I get this error:

WordPress database error User 'XX' has exceeded the 'max_questions' resource (current value: 3600) for query SHOW TABLES LIKE 'wp\\_users' made by display_setup_form.

I guess this is an error due to use the free database plan of ClearDB. However, after getting that error (spotted in the server logs), the server is redirecting to the install screen.

Is there any way to catch that error, and avoid showing the install screen?

Share Improve this question edited Nov 13, 2017 at 18:29 andersuamar asked Nov 13, 2017 at 17:39 andersuamarandersuamar 314 bronze badges 6
  • you're correct, its the max queries per hour provided by your host. It resets after one hour. Maybe you can contact your hosting support for better guidance on this – Piyush Rawat Commented Nov 14, 2017 at 4:08
  • I have been getting this error alot recently as well. No real insights other yet. Did you get it resolved? – corbanb Commented Dec 12, 2017 at 20:47
  • 1 Basically I moved from ClearDB to Amazon RDS, where that limit is not imposed. I found clearDB on Heroku as a non viable DB for Wordpress. If you want to keep with ClearDB, I would choose one of their AWS single tenant services, where you don't have that limitation either. w2.cleardb.net/aws – andersuamar Commented Dec 12, 2017 at 21:00
  • I have the same exact problem no one answers how to stop that forwarding and show normal error! – Shady Mohamed Sherif Commented Jul 2, 2018 at 23:10
  • Getting the same issue with ClearDB. (They don't warn you when you're about to hit the limit AND there's no way to check for yourself.) On a related note, this might help (but does not work with ClearDB): dba.stackexchange.com/a/31300/48845 – Fabien Snauwaert Commented Sep 28, 2018 at 16:56
 |  Show 1 more comment

1 Answer 1

Reset to default 0

You may install WordPress for postgres. I am the maintainer of the project.

The repository here: https://github.com/php4dev/heroku-wordpress

本文标签: databaseWordpress showing install screen after maxquestions error