Comments - Missing mysqld.sock file?
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Try doing:
cd /etc/init.d Go to where mysqld is, and try: ./mysqld start
Then do mysql -uroot and see if you can login.
Also, it would help if you tell us how you installed MariaDB. Thanks!