wp-config.php is one of the most important core WordPress files. Located in the root of your WP installation directory, it contains configuration details connecting your WP with database.
This information includes database name, username and password allowing your WordPress to store and retrieve data on database.