The wp-config.php file is a very important file, possibly the most important file from your entire WordPress installation. If the wp-config.php file falls into the wrong hands, your website is lost. Therefore, make sure that you make backups of your website and that your WordPress security is in order!
Data
The wp-config.php file, which is in the root of your website, contains much important information about your website. Not only the name of your database, username, password, and server but also the salt keys are in the wp-config.php file. If you manually install WordPress, there is no wp-config.php file yet; There is only a wp-config-sample.php file. The intention is that you open the file, edit it and the name changes as soon as you finish. Then WordPress knows how to connect to your database and can start the installation.
Not only when installing WordPress, the wp-config file is important. WordPress makes continuous use of the data in the file to connect to your database. Do not delete the file!