Log onto cPanel
Click on File Manager
Go to public_html
Scroll down the list of files and find wp-config.php
Click/select
Click on "Edit" icon (about middle way across) on top of File Manager
Edit as instructed.
Click on "Save Changes"
Edit:
EDIT/ADD:

Originally Posted by
soulhaven
I found in my file manager a file called setup-config.php in the wp-admin folder.
It is in the folder above that.
It is called wp-config.php
The line is near the top and it looks like
Code:
/** MySQL hostname */
define('DB_HOST', 'localhost');