i have xampp installed on windows 10 but i updated to windows 11 and i changed port 3306 to 3307 now whene i try to connect to root it send back this error :
Access denied for user 'root@localhost' (using password:NO)
this is my code php
<?php
$host = 'localhost';
$user = 'root';
$pass = ''; // i don't use password
$db = 'projet';
$connect = mysqli_connect($host, $user, $pass, $db);