Impossible connection on mysql

Hello, i try to connect on mysql,but it don’twork:

My code is:

<?php
$mysqli = new mysqli("sql300.epizy.com", "epiz_32765258", "My_password", "epiz_32765258_Cyril");
if ($mysqli->connect_errno) {
    die("connexion a échoué: " . $mysqli->connect_error);
}
 
$sql = "UPDATE table_revue SET nom = 'Valeur' WHERE id = 1";
$mysqli->query($sql);
?>

Warning: mysqli::__construct(): (HY000/1045): Access denied for user ‘epiz_32765258’@‘192.168.0.50’ (using password: YES) in /home/vol12_5/epizy.com/epiz_32765258/htdocs/index.php on line 4
connexion a échoué: Access denied for user ‘epiz_32765258’@‘192.168.0.50’ (using password: YES)

Can you tell me what is the probleme? THINKS

See:

7 Likes

Think, now it work well.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.