I have installed Xampp, the latest version, but I want to change or add a password.
As I run this coding I get the Error 1045 that is shown on these forums.
I am very, very new to databases. I learned the basics of DOS in grade school but have no additional experience.
I am looking to learn PHP through a book: "PHP for the web: Visual Quickstart Guide (4th Edition)
In the book it suggest downloading XAMPP, which I did.
I turn on MySql but and given a suggestion by the book and all over the internet to change my password.
I try to follow the book:
>C:\mysql\bin\mysql -u root -p
I then get an area to change the password. When I create a password I get: Error 1045 (2800) Access Denied for user 'root@localhost' (using password: yes)
I have looked all over the internet for a way to fix this. Most answers are too techy for me to seem to understand or input or the answers seem to be using Lenix coding. I am running Windows 7. Can you give me answers for:
1) Why a password needs to be set up?
2) How to actually, basically, set up the password.
Some explanation suggest I go to a web browser and in the address bar search localhost. I do this but nothing comes up. I do not know if this has anything to do with the answer I am seeking but I wanted to add this little bit of information.