Have you set up the script using the installer?
Failed to connect to MySQL: (1045) Access denied for user 'root'@'localhost' (using password: NO)