My search-fu is having a problem, but it looks to me like your Maria-DB/MySQL database is hosed.
Search “MySQL sqlstate 2002” to see what the specific error is, but this looks like a straight-up MySQL failure.
- Check to see if the MySQL daemon is running.
- If it is, log onto the console of the server and issue the command “mysql -u root” and see what it says.
From there, I expect you are going to have to repair a couple of databases and maybe reinstall your database tables.