SMF was unable to connect to the database.

Started by sann, October 16, 2005, 10:10:03 PM

Previous topic - Next topic

sann

my forum stopped working after 2 days.

This is the message that I'm receiving:

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

I've tried to find the topic in these pages, but the search is producing 0 results. Any help would be appreciated.

kenchix1

Quote from: sann on October 16, 2005, 10:10:03 PM
my forum stopped working after 2 days.

This is the message that I'm receiving:

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.

I've tried to find the topic in these pages, but the search is producing 0 results. Any help would be appreciated.

You can try to clean the database sessions and check the settings.php for any errors.

JayBachatero

What you should so is save Settings.php to your pc then delete it from the server.  after that renae Settings_bak.php to Settings.php  that should fix it.  It seems like you made some changes to the sql maybe a password a password hange or something.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

moraidh

Sometimes I get this intermittently, and get error messages emailed to me.

Not really a problem, but why does it happen so sporadically?  I have never touched settings.php, so if there was a password issue, the forum would be completely unavailable until it was resolved, surely?

Somehow I have always assumed it was something to do with the host...

青山 素子

If it is intermittent it is likely the host. Especially on a shared plan, sometimes the database connections fill and your forum will hit that time and not be able to connect because of that. Having an e-mail about connection issues once in a while isn't a bad thing. It becomes bad when the connection issues are happening regularly and for long periods.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: