Myql stop working after installing maria db along side with sql!

I installed maria.db alongside the SQL server! the website not working(error message) when I run the ghost doctor! it’s seems sql server stopped working! How can I fix the issue?or How to back up my website content! does it mean lost all the content on my website? I will try to use

Error related to mysql

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 


I try to install cyberpanel. Unfortently I install maria.db mysql. My website stop running and show 500 error message. I kept mh website file the same. Any option to fix the lost ??! Is the content and posts remain or lost ?!
I try to reinstall mysql. Keep showing error message. Unable to connect

connect to local mysql server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

The Ghost update that made me switch DB engines (