Your files have to be installed in the web root of the web server for Apache to see them.
It will only work with your computer name and password if they are the same as the database name and password you assigned when you created the database. MySQL doesn't do anything with your computer login information. It only cares about the database user name and password.