Connection to database server failed

apps

#1

FATAL ERROR: Connection to database server failed.Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

I am trying to install aihs to just test it and i get the error above.
http://mmsworld.dreamhosters.com/aihs/install/?
May i know how can i find out what to put for server name database server etc.

Thanks