[wp-trac] [WordPress Trac] #63678: WordPress redirect to wp-admin/install.php when a user is rate limited in mysql

WordPress Trac noreply at wordpress.org
Tue Jul 29 20:23:04 UTC 2025


#63678: WordPress redirect to wp-admin/install.php when a user is rate limited in
mysql
-----------------------------------+------------------------------
 Reporter:  anonymooo              |       Owner:  anonymooo
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Database               |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+------------------------------
Changes (by jorbin):

 * keywords:  has-patch => has-patch 2nd-opinion


Comment:

 Thanks @anonymooo.

 While I fully agree that the experience here shouldn't be to redirect but
 to error out, I wonder if it should be more a more generic error so that
 1) other error codes can also error out. Perhaps all the 1xxx? 2) If it
 should rely on `$this->last_errror` rather than creating a new string.

 My thinking with using the string from mysql is that since the problem
 here is on the mysql server side, the error message provides a better
 starting place for people to search for a solution.

 For anyone looking for the list of error codes, [https://dev.mysql.com/doc
 /mysql-errors/8.4/en/server-error-reference.html here are all the server
 ones] and from there you can view the others as well.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63678#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list