Tuesday, November 15, 2022

MySQL - max_queries_per_hour

 


Fatal error: Uncaught mysqli_sql_exception: User '' has exceeded the 'max_queries_per_hour' resource (current value: 600) in C:\xampp\htdocs\testsite\exercises\FixtureToChip\private\classes\Fixture.class.php:13 Stack trace: #0 C:\xampp\htdocs\testsite\exercises\FixtureToChip\private\classes\Fixture.class.php(13): mysqli->query('SELECT id FROM ...') #1 C:\xampp\htdocs\testsite\exercises\FixtureToChip\private\classes\Fixture.class.php(57): Fixture::find_by_sql('SELECT id FROM ...') #2 C:\xampp\htdocs\testsite\exercises\FixtureToChip\public\indexLearning.php(42): Fixture::find_by_name('L227W-S') #3 {main} thrown in C:\xampp\htdocs\testsite\exercises\FixtureToChip\private\classes\Fixture.class.php on line 13

https://dev.mysql.com/doc/refman/8.0/en/user-resources.html

mysql> ALTER USER 'francis'@'localhost' WITH MAX_QUERIES_PER_HOUR 100;

No comments:

Post a Comment