What could be the possible reason for getting this error several times in a day while getting data from mysql db???
Basically a temporary message that will appear.
Nothing for you to do apart from wait it out or upgrade.
Sorry.
As this is free hosting, there are going to be limits. However, what is available on the 000webhost free hosting platform is often abused by spammers. Because of this, we have implemented a new policy that limits the number of concurrent MySQL connections. These new limits are as listed below. Be sure to check the overall limits of a website as well.
30 concurrent connections (per database)
max_queries_per_hour = 15000 (DB read)
max_updates_per_hour = 5000 (DB write)
Database size can …
If I upgrade to premium then this error will not appear??
Yeah the premium service doesn’t have limits so this issue won’t be faced there.
You don’t have to upgrade though you can just wait it out on the free plan when it happens.