Please make sure you have edited the MySQL Configuration elements on the config.php Document correctly. As this script cannot connect to your MySQL Installation.
The elements that need changing are:
User Pass Host