daddyman Posted May 7, 2018 Share Posted May 7, 2018 I am super excited to finally be able to connect HTML, CSS, and PHP to SQL database... I've managed to make scripts 9.2 and 9.3 work (typed from scratch and debugged) when relying on root user access. However, I cannot get it to work when I attempt to access via new user that I created using PHP MyAdmin and guidance from Appendix A (i.e. when I alter register.php file to reflect the other user login and pw). I've been able to change the root password and that worked fine, but no matter what I do I can't get the new user to work, even if I give global privileges to that profile. I get error: "Could not connect to MySQL: Access denied for user 'XXXX@'localhost' (using password: YES)" Any insights you can provide are appreciated. Link to comment Share on other sites More sharing options...
daddyman Posted May 8, 2018 Author Share Posted May 8, 2018 Problem solved. Dumped new users, re-loaded and was able to get it to function. Link to comment Share on other sites More sharing options...
Larry Posted May 11, 2018 Share Posted May 11, 2018 Cool! Sorry I wasn't able to chime in, but kudos for solving it and thanks for posting the solution! Link to comment Share on other sites More sharing options...
Recommended Posts