Database Error

Description: Can't connect to localhost as bbaseini
MySQL Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Location Function
r/www/html/cms/library/func.database.php:22 formatedDebugBacktrace
r/www/html/cms/library/func.database.php:48 db_error
/var/www/html/cms/config.php:50 db_connect
/var/www/html/cms/index.php:54 require_once

Database Error

Description: Can't select database
MySQL Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

Location Function
r/www/html/cms/library/func.database.php:22 formatedDebugBacktrace
r/www/html/cms/library/func.database.php:51 db_error
/var/www/html/cms/config.php:50 db_connect
/var/www/html/cms/index.php:54 require_once