[afnog] Database error

Daniel Shaw daniel at afrinic.net
Mon Sep 7 08:08:19 UTC 2015


> On Sep 7, 2015, at 11:58 AM, Nabil Badri <shenzen.shen at gmail.com> wrote:
> 
> Database error
> Error connecting to database:
> can't connect to local Mysqlserver through socket '/var/lib/mysql/mysql.sock' (2)
> 
> I have no idea what to do about this error message (as I am a centos), and would appreciate some help.

Hi Nabil,

The first thing to check is if the MySQL database service is actually running. Once you have verified that, if you still get the error you can move onto further troubleshooting. But it’s quite likely you just need to start up MySQL.

Let us know if you need assistance checking if it’s running or not.

Regards,
Daniel





More information about the afnog mailing list