A PHP Error was encountered

Severity: Warning

Message: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Filename: includes/config.inc

Line Number: 3

Backtrace:

File: /home/grid/public_html/application/views/includes/config.inc
Line: 3
Function: mysqli_connect

File: /home/grid/public_html/application/config/routes.php
Line: 3
Function: include

File: /home/grid/public_html/index.php
Line: 325
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysqli_error() expects parameter 1 to be mysqli, boolean given

Filename: includes/config.inc

Line Number: 3

Backtrace:

File: /home/grid/public_html/application/views/includes/config.inc
Line: 3
Function: mysqli_error

File: /home/grid/public_html/application/config/routes.php
Line: 3
Function: include

File: /home/grid/public_html/index.php
Line: 325
Function: require_once

Could not connect to the host.