Cannot connect to database :

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

This script cannot continue, terminating.