I installed Xampp just last night & am struggling to set user root's password.
I didn't find a solution in Xampp FAQ ... set password FAQ wasn't helpful.
Installation on Windows 10 in C:\xampp.
I started both Apache and MySQL in Control Panel v3.2.2
I clicked on Shell and got the # prompt.
At the # prompt, I type mysqladmin -u root password 'foo' and get this error:
mysqladmin: connect to server 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
I tried setting password by enclosing in double quotes and also "[foo]" and get same error.
Can someone help me?
.