I went up to 000webhost, the system is already on the internet but there is no connection to the database and I do not know how to fix it.
this erro throws me: Connection failedProxySQL Error: Access denied for user 'root' @ '2a02: 4780: bad: f00d :: 14' (using password: NO)
and the fields that 000webhost gave me were these: Database Name id7710051_matrix Database User id7710051_root Database Host localhost
and I did everything like that but it does not work
<?php
$servidor = "localhost";
$usuario = "usuariot";
$password = "123456";
$bdd = "mibd";
//crear conexion
$conn = new mysqli($servidor, $usuario, $password, $bdd);
//verificar la conexion
if($conn->connect_error){
die("conexión fallida" . $conn->connect_error);
}
?>