Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: sirfpsycho - lokakuu 24, 2019, 10:55:35 IP

Otsikko: Database error
Kirjoitti: sirfpsycho - lokakuu 24, 2019, 10:55:35 IP
I am getting email:

There has been a problem with the database!

This is a notice email to let you know that SMF could not connect to the database, contact your host if this continues.

How can I fix it? I have my own vps and there is no high load.
Otsikko: Re: Database error
Kirjoitti: Looking - lokakuu 24, 2019, 11:02:18 IP
Does it happen intermittently or constant? Error logs?
Otsikko: Re: Database error
Kirjoitti: sirfpsycho - lokakuu 24, 2019, 11:04:40 IP
Got this error when I installed SMF in september for few days. After that I did not get error that is why I ignored. But today I got two emails with DB error. I also try to find error log in public_html but did not find any error log.

Lainaus käyttäjältä: Looking - lokakuu 24, 2019, 11:02:18 IP
Does it happen intermittently or constant? Error logs?
Otsikko: Re: Database error
Kirjoitti: Looking - lokakuu 24, 2019, 11:11:27 IP
Might be spikes from spiders or hackers. When it happens try looking at server's processes. Unless you have other sites on your VPS that pulls resources.
Otsikko: Re: Database error
Kirjoitti: GigaWatt - lokakuu 25, 2019, 09:03:24 IP
In most cases, it's either spiders/bots or server problems. If they're generated once or twice a month, I usually ignore them... it probably means that the server had a "hiccup" at that point in time for one reason or another, nothing more ;).