php - Xampp Access Denied (HY000|1045), permissions set -
i developing php site using xampp , having trouble accessing mysql database. following error:
warning: mysqli_connect(): (hy000/1045): access denied user 'guest'@'localhost' (using password: yes) in c:\xampp\htdocs\clothing\index.php on line 24
here php code connect database:
$conn = mysqli_connect('localhost', 'guest', 'change01&', 'clothing')
all credentials such username , password correct, have reset password in phpmyadmin thousand times , still error. have made sure guest user has permissions set. else problem here ? might worth mentioning have changed default ports apache not mysql.
Comments
Post a Comment