nstreet wrote:I try to follow the book:
>C:\mysql\bin\mysql -u root -p
Without any knowledge about MySQL rights this is quite dangerous.
nstreet wrote:I then get an area to change the password.
What do you mean by "area"?? You simply get a prompt of the MySQL Interpreter, nothing else.
nstreet wrote:When I create a password I get: Error 1045 (2800) Access Denied for user 'root@localhost' (using password: yes)
No, no, not so quick.
a) What did you enter precisely to the MySQL prompt (in order to create a passwort)?
b) When (exactly) did you receive that error message?
Maybe you already destroyed your Xampp installation with these few steps, if you do not remember by 100% what you entered there, you ruined your root account of MySQL.
nstreet wrote:1) Why a password needs to be set up?
There is no need, who tells you so? Ask him! Xampp comes without password and it is ready to run out of the box. Passwords are needed for multiuser environments and or online environments to prevent other people to overtake the control of your server. But this is not a threat on a private single user PC.
nstreet wrote:2) How to actually, basically, set up the password.
Obviously, when you say "the password", you actually mean the passwort of the User "root" from the MySQL Installation. Beware: MySQL Users are not the same users as windows users! This is a completely different context.
The one and only administration tool for you (running Xampp) is "PhpMyAdmin", which is part of the Xampp Installation and there is a link in the Xampp Menu to run it in your browser. DO NOT RUN MYSQL Interpreter natively without any knowledge of what you are doing there!
nstreet wrote:Some explanation suggest I go to a web browser and in the address bar search localhost.
Ouch!! That means that you either did not install Xampp correctly or did not start Apache. You have to start Apache (and MySQL) in the Xampp Control Dialog.
It seems, you have no idea what Xampp does and what it is good for. You should not go for any passwords (this is for advanced users only), as long as you have no idea about using Xampp.