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

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -