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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -