mariadb auto stops working

there is an error showing inside dashboard , ERROR
Error: (2002, “Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (111)”)

is there any solution?

Your MySQL is down, look into google for debugging your MySQL.