Jump to content
Larry Ullman's Book Forums

Chapter 9 And Creating Users (Appendix A)

Recommended Posts

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


  • Create New...