A PHP Error was encountered

Severity: Warning

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

Filename: hooks/installer.php

Line Number: 22

Backtrace:

File: /home/newilp/public_html/_apps/core/__Exceptions.php
Line: 94
Function: show_php_error

File: /home/newilp/public_html/_apps/hooks/installer.php
Line: 22
Function: mysqli_connect

File: /home/newilp/public_html/_apps/core/__Ci.php
Line: 513
Function: call_hook

File: /home/newilp/public_html/index.php
Line: 333
Function: require_once

Cannot connect database