Content
WordPress stores your database information in a file called wp-config.php.
This configuration file is usually located in the document root directory of your domain name.
For example, if you have installed WordPress on your primary domain the wp-config.php file will be located in the public_html directory of your hosting account.
You can view and edit the file using File Manager in cPanel or via FTP.