Can't connect to database

Hi,

im getting this message when trying to log in the emopi to set up the new system. this is a brand new pre installed card:

 

Can't connect to database, please verify credentials/configuration in settings.php
Error message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)