Skip to main content

Godaddy edit wp-config.php file

source
The only reason you should edit your wp-config.php is if you have recently updated your database password.

If you're using using godaddy, click "My Account" then "launch" your web host.

click the large button that says "FTP* File Manager"

edit "Page Size: 25" to "Page size: 50" and find wp-config.php, make sure you don't select wp-config-sample.php

click the edit button.

 Set Database Password

Replace yourpasswordhere, with the your password, e.g. MyPassWord.
define('DB_PASSWORD', 'MyPassWord'); // Example MySQL password

Now you can go back and use phpMyAdmin to edit your wordpress database

the complete guide is Delete all Comments from wordpress hosted on godaddy

Comments