MySQL Forums
Forum List  »  PHP

Random Mysql PHP error: Couldn't select Database
Posted by: Simon Redfield
Date: June 09, 2020 01:14AM

Hi

Randomly, we are get the error "Couldn't select Database"

you refresh the page, and bang it's working!

it happens randomly across the week and there's absolutely no information online that is meaningful about what could be causing this

Sometimes it happens, you refresh the page, still says Couldn't select database, refresh it again and it's working fine and continues to work fine the rest of the day without issue.

How can I solve this randomly occurring bug?

I doubt it's anything to do with the specific version of MySQL or PHP we are running, as we run the same version on multiple servers along with no doubt countless millions of other people across the planet who don't have this issue.

I'm thinking its some sort of limit or setting where its hitting the max number of queries in an hour or something is somehow causing it to drop its ability to select a database temporarily?

where or what should I be looking for to try solve this one?

Options: ReplyQuote


Subject
Written By
Posted
Random Mysql PHP error: Couldn't select Database
June 09, 2020 01:14AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.