MySQLi connection error 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
Call to function mysqli_error() without link identifier.
MySQL Error:

any ideas to solve this?