I downloaded a clean wordpress (from the official site), started the installation and instead of the usual start page of the installation displays: Error establishing connection with the database. Although just in the initial installation should indicate the data connection to the database.
Local server MAMP. Everything worked as it should, but this time there was an error. I do not understand why this happens. You can manually edit wp-config-sample.php, then change its name, but it is much easier to use the initial installation. Why can such an error occur? Thank you in advance for your help:). Below is a list of files. Absolutely pure wordpress, only downloaded from the site.
