I am having a database connection error

3 posts / 0 new
Last post
#1 Tue, 11/19/2019 - 14:05
innovativeflare
innovativeflare's picture

I am having a database connection error

Every 3 or 4 days MySQL server stops running and I have to restart it.

I found this error: DBI connect failed : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Not sure how to go about fixing this.

Wed, 11/20/2019 - 14:34
adamjedgar

AJECreative is the home of $5 webhosting, $15/month VPS servers (1cpu,1gb RAM, 25GB storage)
Centos7, Debian9, or Ubuntu18LTS
Available Control Panels = Centos-Webpanel, Cyberpanel, or Virtualmin

https://ajecreative.com.au

Thu, 11/21/2019 - 20:06
dowell22

Check your mysql error log for the exact problem. Try in /var/log or check your /etc/my.cnf.

Topic locked