Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/ciclismo/public_html/conexion/conexion.php on line 2

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/ciclismo/public_html/conexion/conexion.php on line 2
I cannot connect to the database because: