Warning: mysqli_connect(): (HY000/2002): Connection refused in /var/www/rotas/public/includes/connection.php on line 2

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /var/www/rotas/public/includes/connection.php:2 Stack trace: #0 /var/www/rotas/public/distancia-cidades-redis.php(6): include() #1 {main} thrown in /var/www/rotas/public/includes/connection.php on line 2