I had this problem this weekend when I was setting up wordpress. i took the username and password out of the wp-config.php. I left “wordpress” as the dbname, dbuser = “”, dbpassword = “” and dbhost = “localhost”. tried it again and it started building the database and then completed. I was up and running in about 30 minutes. It did give me another admin account for the database so read everything completely before you close it.