Set Up of mySQL on web server

Here goes:

I installed mySQL, php & Apache on my computer. I have set up my database, written my PHP, got things working… using the ‘localhost’.

I want to upload my database and php scripts to my web server.
Where do I put the mySQL files? Which files from my mySQL directory (on C:/mysql = 68MB). In what directory should I put them?

My php script calls:
$link = mysql_connect(“localhost”, “username”, “password”); Just when I upload…

I was thinking I replace localhost with ‘’… please can you help. I think it might be a good idea to have a tutorial on this, unless it is something really simple

Thank You.