If your website is hosted in Hostinger and you are receiving an error with max_connections_per_hour
limit:
Connection failed: User 'u1000000_database' has exceeded the 'max_connections_per_hour' resource (current value: 500)
Make sure that in your database configuration file, such as wp-config.php the database hostname is set to the localhost.
We don't recommend setting your database hostname to server IP.
Example (incorrect):
/** The name of the database for WordPress */
define( 'DB_NAME', 'u1000000_database' );
/** MySQL hostname */
define( 'DB_HOST', '104.20.160.69' );
Example (correct):
/** The name of the database for WordPress */
define( 'DB_NAME', 'u1000000_database' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );