"No database selected" even when db clearly selected
        Posted  
        
            by Someone
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Someone
        
        
        
        Published on 2010-05-03T23:38:36Z
        Indexed on 
            2010/05/04
            0:08 UTC
        
        
        Read the original article
        Hit count: 327
        
One of my webpages gets a recurring error: "No database selected", even though the DB is selected. Right about now it's a 50-50 chance whether the page will load just fine, or whether I receive this error. After one or two reloads, the page works again. I am including the exact same connection file on my other pages, and I don't have this problem. What could be the cause of this? I'm using ensim pro for webhosting. TIA.
© Stack Overflow or respective owner