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