Ulysses Posted April 10, 2007 Share Posted April 10, 2007 Getting the occasional error message "Could not connect to the database - check connection details in configuration.php file" now and then for no apparent reason. Both in and out of the admin area. It's occasional, so I can't replicate it, but is really irritating when it happens. I can't figure out how the details in the configuration.php can be wrong sometimes. Cheers 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted April 10, 2007 Share Posted April 10, 2007 Hey, Could be server side. IE MySQL down or something.... From, Adam 0 Quote Link to comment Share on other sites More sharing options...
Dominic Posted April 10, 2007 Share Posted April 10, 2007 Check your max connections setting in my.cnf 0 Quote Link to comment Share on other sites More sharing options...
Ulysses Posted April 10, 2007 Author Share Posted April 10, 2007 Check your max connections setting in my.cnf Thanks Dominic. I had a squiz at it and it's set to 500! [mysqld] set-variable = max_connections=500 safe-show-database old-passwords = 1 From other examples I've seen around the web, it looks pretty basic though. Do you know much about this setting? 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted April 10, 2007 Share Posted April 10, 2007 Hey, Well its really easy, max-connection = total users server wide that can connect to any MySQL database. What errors are you getting, like wrong username/password, MySQL server not found, etc? From, Adam 0 Quote Link to comment Share on other sites More sharing options...
Ulysses Posted April 10, 2007 Author Share Posted April 10, 2007 Hi Adam, The only error message I am getting (from time to time) is ""Could not connect to the database - check connection details in configuration.php file"" Cheers 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted April 10, 2007 WHMCS CEO Share Posted April 10, 2007 That message is shown for a login failure or mysql being down. If your login details aren't changing then the MySQL service must keep going down. Matt 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.