How will I resolve the below database error?

There seems to have been a slight problem with the database.

Please try again by pressing the refresh button in your browser.

 

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

 

We apologize for any inconvenience.

 

For this login to your server as root user and check the following paths for MySQL. Sock

 

/var/tmp

/tmp

/var/lib/mysql/

/usr/local/lib/

 

If you don’t get it, please create it.

 

Please note that mysql. Sock is symlink.