error establishing database connection (WAMP + filezilla)

If everything is normal ( i.e., web server is working, ) you should care for only following things when creating new wordpress site.

define('DB_NAME', 'db_name');

/** MySQL database username */
define('DB_USER', 'user_name');

/** MySQL database password */
define('DB_PASSWORD', 'db_password');

/** MySQL hostname */
define('DB_HOST', 'localhost');

db_name : name of the database that will hold your wordpress site’s content

db_user_name: It’s good idea to create user for accessing that particular database only ( restrain other databases access i.e., if you use root for the user name )

password: this is the password for database ( not the password used to log into phpmyadmin or any other database dashboard )

localhost: name of the database server

another thing to note is

$table_prefix  = 'wp_';

This will normally won’t matter that much but in case you want your database to have some other prefix than wp_ make suer you update above value in wp-config.php file.

Other things like read/write/execute, these are privileges on any file/directory on UNIX like system. These need to be set properly as well but you are using WAMP, so you don’t have to worry about these for now.

.htaccess is generally automatically created for each site.

If you have set these things correctly, it should work.

If not, consult this problem with your hosting support.

Good day!!!