In this line of code:
Code:
$link = mysql_connect("localhost","root","");
you will need to supply your MySQL username and password in order to connect to your database.
Think of it like this:
Code:
$link = mysql_connect("localhost","username","password");
Leave the first parameter ("localhost") just as written. Fill the other two in accordingly.
Whatever you do ... never post your username and password publicly.
Part Two
Change this part of the code back the way it was.
Code:
$username = "admin";
$password = "admin";
You will be provided an option once you log into the admin panel for the script to change the Admin password.
This username and password is different than the MySQL username/password.