I want to connect my php connection file to the 000webhost database
<?php
$servidor = "localhost";
$usuario = "root";
$password = "";
$bdd = "matrix";
//crear conexion
$conn = new mysqli($servidor, $usuario, $password, $bdd);
//verificar la conexion
if($conn->connect_error){
die("conexión fallida" . $conn->connect_error);
}
?>
Database Name id7710051_matrix Database User id7710051_root Database Host localhost
because when the system is on the internet I get an error: Connection failedProxySQL Error: Access denied for user 'root' @ '2a02: 4780: bad: f00d :: 14' (using password: NO)