ok, i will try to answer all your questions at once.
first, after you install wamp, you do not have to change, edit, or move anything. just start apache and mysql and you are ready to go.
all your website files are located in
c:\wamp\www
when you access your website with your browser, use [
localhost] , it will serve you webpages from your c:\wamp\www folder. so, if you have a file called test.php in your www folder, to see it in your web browser use [
localhost].
wamp comes with the root mysql user with all admin privileges. so you do not have to worry about granting any users any kind of privileges. wamp comes with root uses set with no password, so to connect to your mysql server using your php scripts, use:
host: localhost
usename: root
password:
here is a sample php code to connect to mysql:
mysql_connect ('localhost', 'root', '');