Advertisement:

Author Topic: Database error  (Read 347 times)

Offline sirfpsycho

  • Jr. Member
  • **
  • Posts: 103
Database error
« on: October 24, 2019, 10:55:35 PM »
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.

Offline Looking

  • SMF Hero
  • ******
  • Posts: 2,418
  • SMF Customization
    • jeanborde on Facebook
    • SMF Custom Themes & Custom Coding
Re: Database error
« Reply #1 on: October 24, 2019, 11:02:18 PM »
Does it happen intermittently or constant? Error logs?

Offline sirfpsycho

  • Jr. Member
  • **
  • Posts: 103
Re: Database error
« Reply #2 on: October 24, 2019, 11:04:40 PM »
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.

Does it happen intermittently or constant? Error logs?

Offline Looking

  • SMF Hero
  • ******
  • Posts: 2,418
  • SMF Customization
    • jeanborde on Facebook
    • SMF Custom Themes & Custom Coding
Re: Database error
« Reply #3 on: October 24, 2019, 11:11:27 PM »
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.

Offline GigaWatt

  • The Smiley Guy
  • On Hiatus
  • SMF Hero
  • *
  • Posts: 2,187
  • Gender: Male
    • Macedonian electronics forum
Re: Database error
« Reply #4 on: October 25, 2019, 09:03:24 PM »
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 ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."