Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/baifox/scripts/baifox_redireccion.php on line 7

Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, bool given in /usr/local/baifox/scripts/baifox_redireccion.php:8 Stack trace: #0 /usr/local/baifox/scripts/baifox_redireccion.php(8): mysqli_query(false, 'SELECT * FROM t...') #1 {main} thrown in /usr/local/baifox/scripts/baifox_redireccion.php on line 8